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

Webstart will not install 1.4.1_01 or 1.4.1_02 when specified in .jnlp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • deploy
    • x86
    • windows_2000

      Name: gm110360 Date: 03/05/2003


      FULL PRODUCT VERSION :
      java version "1.4.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
      Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

      FULL OS VERSION :
      Windows 2000 Pro SP3

      A DESCRIPTION OF THE PROBLEM :
      It appears that Sun is not updating the autodl site for webstart with 1.4.1_01 or 1.4.1_02. We really need 1.4.1_02 badly because it fixes the critical BSOD bug with ATI video cards (bug 4713003). Without it, most of the PCs in our company will crash when they try to run our application or Web Start.

      If I use the following JNLP, it installs 1.4.1, not 1.4.1_02.

      <?xml version="1.0" encoding="utf-8"?>
      <jnlp
      spec="1.0+"
      codebase="http://myapp.com/myapp"
      href="myapp.jnlp">
      <information>
      ...
      </information>
      <security>
      <all-permissions/>
      </security>
      <resources>
      <j2se version="1.4.1*" max-heap-size="144M" href="http://java.sun.com/products/autodl/j2se"/>
      ...
      </resources>
      <application-desc />
      </jnlp>

      Also, trying a version="1.4.1_02" gives an error when trying to install/download saying it is not found. If it is installed manually, the 1.4.1_02 version works fine.
      The messages below are from Web Start attempting to auto install a JRE with the j2se version = "1.4.1_02":

      An error occurred while launching/running the application.

      Title: Enterprise Table Management (Dev)
      Vendor: SBC Inc.
        Category: Download Error

      The application has requested a version of the Java 2 platform (JRE) that is currently not locally installed. Java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.

      Error Code 11 (11 Could not locate requested version) returned from server when accessing resource: (http://java.sun.com/products/autodl/j2se, 1.4.1_02)

      JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.getJRE(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadJRE(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(Thread.java:536)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Setup a jnlp as specified above and start it.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      1.4.1_01 and 1.4.1_02 should be available for Web Start auto install very shortly after they are released.
      See above.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      See above.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      See above.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      There is no work-around for auto installing 1.4.1_02 with Web Start.
      (Review ID: 182128)
      ======================================================================

            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: