-
Bug
-
Resolution: Fixed
-
P2
-
6
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2143955 | 6u1 | Thomas Ng | P2 | Closed | Fixed | b01 |
FULL PRODUCT VERSION :
java 6 release candidate 1
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
My JNLP file contains the following tags:
<offline-allowed/>
<shortcut online="true">
<desktop/>
</shortcut>
However, if I am offline, launching the application from the desktop icon results in an error message of the form:
com.sun.deploy.net.FailedDownloadException: Unable to load resource:...(name of my jar file)
whereas if I launch the application 'offline' from the Cache Viewer, it works successfully whether I am actually online or not.
I was able to launch the application offline from the desktop icon using Java 1.5.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a web start application.
Include the above tags.
Download the application using Java 6 RC.
Disconnect from the server hosting the application.
Try to launch the application offline using the desktop icon.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
An attempt to launch the application online, followed by a timeout and the application being launched offline.
ACTUAL -
An error message saying that a resource could not be loaded.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
com.sun.deploy.net.FailedDownloadException: Unable to load resource:...(name of my jar file)
REPRODUCIBILITY :
This bug can be reproduced always.
java 6 release candidate 1
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
My JNLP file contains the following tags:
<offline-allowed/>
<shortcut online="true">
<desktop/>
</shortcut>
However, if I am offline, launching the application from the desktop icon results in an error message of the form:
com.sun.deploy.net.FailedDownloadException: Unable to load resource:...(name of my jar file)
whereas if I launch the application 'offline' from the Cache Viewer, it works successfully whether I am actually online or not.
I was able to launch the application offline from the desktop icon using Java 1.5.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a web start application.
Include the above tags.
Download the application using Java 6 RC.
Disconnect from the server hosting the application.
Try to launch the application offline using the desktop icon.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
An attempt to launch the application online, followed by a timeout and the application being launched offline.
ACTUAL -
An error message saying that a resource could not be loaded.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
com.sun.deploy.net.FailedDownloadException: Unable to load resource:...(name of my jar file)
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-2143955 Regression: Cannot run application using jnlp extensions when offline.
-
- Closed
-