Hi Joe,
Below are the commands attempted and their outputs:
[code]C:\Documents and Settings\crystal>set
HTTP_PROXY=
http://www.java.net/external?url=
http://wwwproxy:80 [1]
C:\Documents and Settings\crystal>echo %HTTP_PROXY%
http://www.java.net/external?url=http://validproxy.nasa.com:80 [2]
C:\Documents and Settings\crystal>updatetool
C:\Documents and Settings\crystal>set MY_HOME=C:\glassfish-3.1\bin\
C:\Documents and Settings\crystal>SET MY_JAVA_HOME=C:\Program
Files\Java\jdk1.6.0_25
C:\Documents and Settings\crystal>set /p RESPONSE="Would you like to install
Update Tool now (y/n): "
Would you like to install Update Tool now (y/n): y
C:\Documents and Settings\crystal>if /I 'y' == 'y' goto yes1
C:\Documents and Settings\crystal>echo # Update Center Bootstrap
properties 1>"C
:\DOCUME~1\htran\LOCALS~1\Temp\pkg-bootstrap209.props"
C:\Documents and Settings\crystal>"C:\Program
Files\Java\jdk1.6.0_25\bin\java" -Dimage.path="C:\glassfish-3.1\bin\\.." -jar
"C:\glassfish-3.1\bin\\..\pkg/lib/pkg-bootstrap.jar"
"C:\DOCUME~1\crystal\LOCALS~1\Temp\pkg-bootstrap209.props"
Unable to load proxy configuration from null
java.lang.IllegalArgumentException: port out of range:-1
at
java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
at com.sun.pkg.client.AuthProxy.newProxy(AuthProxy.java:105)
at
com.sun.pkg.client.SystemInfo.loadProxyInfo(SystemInfo.java:201)
at
com.sun.pkg.client.SystemInfo.getProxySelector(SystemInfo.java:168)
at com.sun.pkg.client.Image.<init>(Image.java:965)
at com.sun.pkg.client.Image.<init>(Image.java:983)
at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:192)
at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:160)
at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:110)
Unable to load proxy configuration from null
java.lang.IllegalArgumentException: port out of range:-1
at
java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
at com.sun.pkg.client.AuthProxy.newProxy(AuthProxy.java:105)
at
com.sun.pkg.client.SystemInfo.loadProxyInfo(SystemInfo.java:201)
at com.sun.pkg.client.SystemInfo.getProxy(SystemInfo.java:188)
at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:194)
at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:160)
at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:110)
Proxy: Using direct connection.
Input/output error: Connection reset
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 is down or otherwise inaccessible or it is
generating invalid data. Please contact the provider of the package
server.[/code]
We seem to have past the initial hurdle but perhaps still expecting to pass
authentication detail such as:
[code] Either
set=HTTP_PROXY=crystal:abc123@
http://www.java.net/external?url=http://validproxy.nasa.com:80
or
HTTP_PROXY=crystal:abc123@
http://validproxy.nasa.com:80
C:\Documents and Settings\crystal>updatetool
C:\Documents and Settings\crystal>set /p RESPONSE="Would you like to install
Update Tool now (y/n): "
Would you like to install Update Tool now (y/n): y
C:\Documents and Settings\crystal>"C:\Program
Files\Java\jdk1.6.0_25\bin\java" -Dimage.path="C:\glassfish-3.1\bin\\.." -jar
"C:\glassfish-3.1\bin\\..\pkg/lib/pkg-bootstrap.jar"
"C:\DOCUME~1\crystal\LOCALS~1\Temp\pkg-bootstrap14974.props"
Cannot connect to proxy: crystal:abc123@
http://wwwproxy:80
Input/output error: unknown protocol: crystal[/code]
Any other suggestion?
Thanks a lot again,
Crystal
[1]
http://wwwproxy:80
[2]
http://www.java.net/external?url=http://validproxy.nasa.com:80
--
[Message sent by forum member 'crytal123']
View Post: http://forums.java.net/node/800160