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

Java AutoDL link on javadl.sun.com pointing to old version

XMLWordPrintable

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

      FULL PRODUCT VERSION :
      Java Standard Edition 6

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP, Service Pack 2

      A DESCRIPTION OF THE PROBLEM :
      The jre auto download link on javadl.sun.com is still pointing to version 1.6.0_07 which is pretty old. Specifying a version until 1.6.0_07 in the jnlp file (j2se tag) works and the autodl fetches the installer from javadl.sun.com. But any version above that is failing since javadl.sun.com doesn't seem to be updated to provide the newer links.

      Can you please update ? Thanks in advance.

      GET http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se?version-id=1.6.0_07%2B&arch=x86&os=Windows&locale=en_US&known-platforms=1.3+1.6+1.4+1.6+1.6+1.6+1.5+1.6+1.6+
      HTTP/1.1..accept-encoding: gzip..User-Agent: JNLP/6.0 javaws/1.6.0_06 (b02) Java/1.6.0_06..UA-Java-Version: 1.6.0_06..Host: javadl.sun.com..Cache-Control: no-cache..
      Pragma: no-cache..Accept: text/html, image/gif, image/jpeg, ; q=.2, /*; q=.2..Proxy-Connection: keep-alive..Cookie: s_vi=[CS]v1|25674201050110AD-6000010BE02EB88D[CE]


      HTTP/1.1 200 OK. .Server: Sun Java System Web Server 6.1..Date: Thu, 05 Nov 2009 20:40:34 GMT..Content-type: application/x-java-jnlp-file..X-java-jnlp-version-id: 1.6.0_07..Last-modified: Wed, 04 Nov 2009 06:11:49 GMT..Content-length: 931..Proxy-Connection: Keep-Alive..Connection: Keep-Alive..Age: 0....<?xml version="1.0" encoding="utf-8"?><jnlp codebase="http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se"> <information> <title>J2RE 1.6.0_07 Installer</title> <vendor> Sun Microsystems , Inc.</vendor> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.3+" href="http ://java.sun.com/products/autodl/j2se"/> <jar href="javaws-j2re-inst-w.jar" download="lazy" size="70700"/> <property name="installerLocation" value="jre-6u7-windows-i586-p-iftw.exe"/> <property name="installerSize" value="382352"/> <property name="javaVersion" value="1.6.0_07"/> <property name="platformVersion" value="1.6"/> <property name="msvcrt.versionMS" value="60000"/> <property name="msvcrt.versionLS" value="20910000"/> <property name="osplatform" value="windows-i586"/> </resources> <installer-desc main-class="com.sun. webstart.installers.Main"/></jnlp>.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Running a simple test jnlp can demonstrate the problem. The system should not already have Java 1.6.0_10 or above.

      Working jnlp that requests Java 1.6.0_07+ that fetches the installer from javadl.sun.com correctly :
      ?xml version="1.0" encoding="utf-8"?>
      <jnlp spec="1.0"
        codebase="http://test.com/"
        href="">
        <information>
          <title>TEST</title>
          <vendor>TEST LLC</vendor>
          <homepage href="http://www.test.com/"/>
          <description>TEST</description>
          <description kind="short">TEST</description>
          <icon href="etlogo.gif"/>
          <icon kind="splash" href="icon.icns"/>
        </information>
        <security>
          <all-permissions/>
        </security>
        <offline-allowed/>
        <resources>
          <property name="sun.java2d.d3d" value="false"/>
          <j2se version="1.6.0_07+" initial-heap-size="256m" max-heap-size="512m"/>
          <jar href="Test.jar"/>
        </resources>
        <application-desc main-class="test.test">
        </application-desc>
      </jnlp>

      Not working when requesting 1.6.0_10+ and fails to find the installer on javadl.sun.com :
      ?xml version="1.0" encoding="utf-8"?>
      <jnlp spec="1.0"
        codebase="http://test.com/"
        href="">
        <information>
          <title>TEST</title>
          <vendor>TEST LLC</vendor>
          <homepage href="http://www.test.com/"/>
          <description>TEST</description>
          <description kind="short">TEST</description>
          <icon href="etlogo.gif"/>
          <icon kind="splash" href="icon.icns"/>
        </information>
        <security>
          <all-permissions/>
        </security>
        <offline-allowed/>
        <resources>
          <property name="sun.java2d.d3d" value="false"/>
          <j2se version="1.6.0_10+" initial-heap-size="256m" max-heap-size="512m"/>
          <jar href="Test.jar"/>
        </resources>
        <application-desc main-class="test.test">
        </application-desc>
      </jnlp>



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Correct installer for the requested version or top version from javadl.sun.com
      ACTUAL -
      Error : Unable to launch application

      #### Java Web Start Error:
      #### The application has requested a version of the JRE (version 1.6.0_10+) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #### Java Web Start Error:
      #### The application has requested a version of the JRE (version 1.6.0_10+) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.

      JNLPException[category: System Configuration : Exception: null : LaunchDesc:
      <jnlp spec="1.0" codebase="http://test.com/">
        <information>
          <title>TEST</title>
          <vendor>TEST LLC</vendor>
          <homepage href="http://www.test.com/"/>
          <description>TEST</description>
          <description kind="short">TEST</description>
          <icon href="http://test.com/etlogo.gif" kind="default"/>
          <icon href="http://test.com/icon.icns" kind="splash"/>
        </information>
        <security>
          <all-permissions/>
        </security>
        <update check="timeout" policy="always"/>
        <resources>
          <property name="sun.java2d.d3d" value="false"/>
          <java initial-heap-size="268435456" max-heap-size="536870912" version="1.6.0_10+"/>
          <jar href="http://test.com/Test.jar" download="eager" main="false"/>
        </resources>
        <application-desc main-class="test.test"/>
      </jnlp> ]
      at com.sun.javaws.Launcher.downloadJREResource(Unknown Source)
      at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
      at com.sun.javaws.Launcher.launch(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)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      JNLP files provided above
      ---------- END SOURCE ----------

            rkennke Roman Kennke
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: