This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 221416 - GlassFish Update Center
Summary: GlassFish Update Center
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
: 221417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-04 02:46 UTC by crzaylife
Modified: 2012-11-12 03:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crzaylife 2012-11-04 02:46:37 UTC
Product Version = NetBeans IDE 7.3 Beta (Build 201210011125)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) Client VM 23.5-b02

-----------------------------------------------------------------------------------------------------------------------------------------------

The software needed for this command (updatetool) is not installed.

If you choose to install Update Tool, your system will be automatically
configured to periodically check for software updates. If you would like
to configure the tool to not check for updates, you can override the
default behavior via the tool's Preferences facility.

When this tool interacts with package repositories, some system information
such as your system's IP address and operating system type and version
is sent to the repository server. For more information please see:

http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2

Once installation is complete you may re-run this command.

Would you like to install Update Tool now (y/n): 

C:\Program Files\glassfish-3.1.2.2\bin>"C:\Program Files\Java\jre6\bin\java" -Dimage.path="C:\Program Files\glassfish-3.1.2.2\bin\\.." -jar "C:\Program Files\glassfish-3.1.2.2\bin\\..\pkg/lib/pkg-bootstrap.jar" "C:\Users\rzhou\AppData\Local\Temp\pkg-bootstrap21341.props" 
Proxy: Using system proxy settings.
Install image: C:\Program Files\glassfish-3.1.2.2
Installing updatetool packages.
Unrecognized exception: For input string: ""
java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at com.sun.pkg.client.FileAction.<init>(FileAction.java:66)
	at com.sun.pkg.client.Manifest.<init>(Manifest.java:136)
	at com.sun.pkg.client.Image.getManifest(Image.java:2003)
	at com.sun.pkg.client.Image$ImagePlan.evaluateFmri(Image.java:453)
	at com.sun.pkg.client.Image$ImagePlan.evaluate(Image.java:536)
	at com.sun.pkg.client.Image.makeAndEvaluateImagePlan(Image.java:1773)
	at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1751)
	at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1724)
	at com.sun.pkg.client.Image.installPackages(Image.java:1904)
	at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:250)
	at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:163)
	at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:113)
Comment 1 Jiri Skrivanek 2012-11-05 07:57:26 UTC
*** Bug 221417 has been marked as a duplicate of this bug. ***
Comment 2 Jiri Skrivanek 2012-11-05 08:13:37 UTC
Do you have JDK installed properly? It works for me. My output is

C:\Program Files\glassfish-3.1.2.2\bin>"C:\Windows\System32\java.exe"
-Dimage.path="C:\Program Files\glassfish-3.1.2.2\bin\\.." -jar "C:\Program
Files\glassfish-3.1.2.2\bin\\..\pkg/lib/pkg-bootstrap.jar"
"C:\Users\JSKRIV~1\AppData\Local\Temp\pkg-bootstrap9317.props"
Comment 3 crzaylife 2012-11-07 03:33:56 UTC
Thanks,

I install JDK by default,I will uninstall and re-install it again,hopefully it works for me.


Richard
Comment 4 crzaylife 2012-11-08 04:09:02 UTC
Hi Support,
I re-install JDK,and setup environment variables for JAVA_HOME,CLASSPATH,PATH,then click "GlassFish Server 3+" server and choose "view domain update center" from list,it told me need to install upgrade center,now, I have some download issues,here is log output,Shall I able to install update center by manual? 

----------------------------------------------------------------------------
The software needed for this command (updatetool) is not installed.

If you choose to install Update Tool, your system will be automatically
configured to periodically check for software updates. If you would like
to configure the tool to not check for updates, you can override the
default behavior via the tool's Preferences facility.

When this tool interacts with package repositories, some system information
such as your system's IP address and operating system type and version
is sent to the repository server. For more information please see:

http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2

Once installation is complete you may re-run this command.

Would you like to install Update Tool now (y/n): 

C:\Users\rzhou\GlassFish_Server\bin>"C:\Program Files\Java\jdk1.7.0\bin\java" -Dimage.path="C:\Users\rzhou\GlassFish_Server\bin\\.." -jar "C:\Users\rzhou\GlassFish_Server\bin\\..\pkg/lib/pkg-bootstrap.jar" "C:\Users\rzhou\AppData\Local\Temp\pkg-bootstrap10350.props" 
Proxy: Using system proxy settings.
Install image: C:\Users\rzhou\GlassFish_Server
Installing pkg packages.
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.
Comment 5 Jiri Skrivanek 2012-11-08 10:34:11 UTC
It seems like problem in your proxy settings. You can download latest GlassFish server manually, install and register to NetBeans (Tools->Servers).
http://glassfish.java.net/public/downloadsindex.html
Comment 6 crzaylife 2012-11-12 03:41:57 UTC
download glassfish and install,then re-install,but still have the same problem,when we click glassfish then click "view update center",still remind me need to install upgrade tool.

anyway,I think this is network issue to access server to download it.

Hopefully there are more source server from China.

Thanks for your support.