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

Java Web Start fails to download lots of applications: "unable to launch XXX"

XMLWordPrintable

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



      Name: gm110360 Date: 06/03/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]
      Linux Suse 9.0

      A DESCRIPTION OF THE PROBLEM :
      A great number of JNLP app's fails to start on Windows and Linux, different machines and internet links. Download starts, and then terminates with message "unable to launch XXX"

      -
      It doesn't stop always at the same place, sometimes it dowloads a lot, sometimes almost nothing, and there are some apps that do work (eg Wurm online)

      Lots of JGoodies samples dont work, and UVC client also. Similar exception hits some applets too.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Hit some jnlp links on jgoodies or UVC. They will start downloading, and die in the middle of it.,

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should just work

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      JNLPException[category: Download Error : Exception: java.io.IOException: Stream closed. : LaunchDesc: null ]
      at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
      at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      or wrapped exception:
      java.io.IOException: Stream closed.
      at java.net.PlainSocketImpl.available(Unknown Source)
      at java.net.SocketInputStream.available(Unknown Source)
      at java.io.BufferedInputStream.available(Unknown Source)
      at sun.net.www.MeteredStream.available(Unknown Source)
      at sun.net.www.http.KeepAliveStream.close(Unknown Source)
      at java.io.FilterInputStream.close(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
      at java.io.BufferedInputStream.close(Unknown Source)
      at java.io.BufferedInputStream.close(Unknown Source)
      at com.sun.javaws.net.BasicDownloadLayer.download(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
      at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)



      REPRODUCIBILITY :
      This bug can be reproduced often.
      (Incident Review ID: 275722)
      ======================================================================

            ngthomas Thomas Ng (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: