JDK-6929262 : offline-allowed Java Web Start app fails to "run offline" from deployment cache with JRE 6 Update 18
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u18
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2010-02-24
  • Updated: 2010-07-29
  • Resolved: 2010-02-24
Related Reports
Duplicate :  
Description
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)