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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • deploy
    • x86
    • windows_xp

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: