Skip to main content

JRE / Webstart problem

No replies
dgallagher
Offline
Joined: 2006-03-28

Did not see a webstart specific forum, so I hope this is the right place.

javaws command line option -offline has not worked since 1.6.0_07

win xp pro ver2002 service pack 3

-offline does not work for the following jres
1.6.0_10
1.6.0_11
1.6.0_12-ea-b03

When trying to run the following command line (which has always worked up until 1.6.0_10)
javaws -Xnosplash -open "user120090114101536349" -offline http://localhost/web/launch.jnlp

the application described in the launch.jnlp will not execute

Application Error Dialog Box: Unable to launch the application

Click Details: More Information Dialog:
Error: Could not load file/URL specified: http://localhost/web/launch.jnlp

Exception Tab:
CouldNotLoadArgumentException[ Could not load file/URL specified: http://localhost/web/launch.jnlp]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Wrapped Exception Tab:
com.sun.deploy.net.FailedDownloadException: Cannot download resource. System is offline.
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Console Tab:
#### Java Web Start Error:
#### Could not load file/URL specified: http://localhost/web/launch.jnlp

I submitted a bug report.

Anyone else have any insight on workarounds, etc.

Thanks