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

offline-allowed Java Web Start app fails to "run offline" from deployment cache with JRE 6 Update 18

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6u18
    • deploy
    • None
    • x86
    • windows_xp

      Java Web Start app which is "offline-allowed" fails to start, when
      launched from Java Cache Viewer by selecting the app, pressing the
      right mouse button and selecting "Run Offline".

      The dialog windows says:

        "Application unavailable while offline"
         The application has requested to go online.
         Do you want to continue ?"
         OK Cancel

        "Cancel" leads to:

        "Application Error
         Unable to launch application."
         OK Details

        "Details -> Console" shows:
      [ ... ]
      Could not launch from cache. Will try online mode. [Need to update]
      network: Connecting socket://127.0.0.1:1290 with proxy=DIRECT
      User chose not to go online and we can not not start in offline mode
      #### Java Web Start Error:
      #### The application can not be run off-line, since not all of the needed resources have been downloaded locally
      network: Cache entry found [url: http://<ip>:<port>/simple/javalogo.gif, version: null] prevalidated=false/0
      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.deploy.net.DownloadEngine.getUpdatedFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getUpdatedFile(Unknown Source)
         at com.sun.deploy.ui.ImageLoader$DelayedImageLoader.run(Unknown Source)

            Unassigned Unassigned
            thlenz Thomas Lenz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: