Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6494357

Regression: Cannot run application using jnlp extensions when offline.

    XMLWordPrintable

Details

    • mustang
    • 6
    • b13
    • x86
    • windows_xp
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                ngthomas Thomas Ng (Inactive)
                ndcosta Nelson Dcosta (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: