JDK-6799417 : javaws command line option -offline has not worked since 1.6.0_07
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-01-30
  • Updated: 2011-02-16
  • Resolved: 2009-02-16
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
-offline does not work for the following jres
1.6.0_10
1.6.0_11
1.6.0_12-ea-b03

ADDITIONAL OS VERSION INFORMATION :
win xp pro ver2002 service pack 3

A DESCRIPTION OF THE PROBLEM :
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

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
use -offline on a command line as above

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
that the application described in the jnlp file executes (as it does nicely in 1.6.0_07)
ACTUAL -
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




REPRODUCIBILITY :
This bug can be reproduced always.

Release Regression From : 6
The above release value was the last known release where this 
bug was not reproducible. Since then there has been a regression.