GlassFish Server Update Installation Time

I installed an instance of GlassFish Server on Netbeans and I am trying to install its update center. I am running Netbeans as an administrator under Windows 7.

I'm on a fast internet connection, pkg.oracle.com seems to load pretty quickly from a browser. However, I keep getting this error:

C:\Program Files\glassfish-4.0>"C:\Program Files\Java\jdk1.6.0_45\bin\java" -Dimage.path="C:\Program Files\glassfish-4.0\bin\\.." -jar "C:\Program Files\glassfish-4.0\bin\\..\pkg/lib/pkg-bootstrap.jar" "C:\Users\velosyp\AppData\Local\Temp\pkg-bootstrap1368.props" 
Proxy: Using system proxy settings.
Install image: C:\Program Files\glassfish-4.0
Installing pkg packages.
Downloading 2 packages.
Downloading pkg (514 files, 6 463 109 bytes).
Downloading python2.4-minimal (278 files, 3 828 949 bytes).
Executing 906 install actions.
Installing updatetool packages.
Downloading 2 packages.
Downloading updatetool (564 files, 4 632 599 bytes).
Input/output error: Read timed out

Could not download application packages. This could be because:
  - a proxy server is needed to access the internet. Please ensure that
    the system proxy server settings in your Internet Options control panel
    (under Connections:LAN Settings) are correct, or set the HTTP_PROXY
    environment variable to the full URL of the proxy server.
  - the package server or network connection is slow.
    If you are getting time out errors you can try setting the
    PKG_CLIENT_CONNECT_TIMEOUT and PKG_CLIENT_READ_TIMEOUT
    environment variables and try again. For example to increase
    the timeouts to 300 seconds set them to 300
  - the package server is down or otherwise inaccessible or it is
    generating invalid data. Please contact the provider of the package
    server.

What could be wrong?

+3
source share
2 answers

This may be a problem for a slow GlassFish update server. Here are some steps you can try:

, , . cmd, \glassfish\bin updatetool.bat, , , .

-, , .

GlassFish. GlassFish http:\localhost: 4848. "Updatetool". .

- pkg. - 300 , CMD ( Windows):

set PKG_CLIENT_CONNECT_TIMEOUT=300
set PKG_CLIENT_READ_TIMEOUT=300

(, ) - . , GlassFish, .  

+2

pkg, pkg install updatetool.

bootstrap () pkg, pkg updatetool ( updatetool). :

pkg list

'y', pkg. :

pkg install updatetool

updatetool pkg.

0

All Articles