JDK-4646615 : automatic download of j2se 1.4 in webstart fails
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.0.1
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_98
  • CPU: x86
  • Submitted: 2002-03-04
  • Updated: 2003-01-21
  • Resolved: 2002-03-13
Related Reports
Duplicate :  
Description

Name: nt126004			Date: 03/04/2002


FULL PRODUCT VERSION :
java webstart (javaws-1_0_1_02-win-int-rt.exe)

A DESCRIPTION OF THE PROBLEM :
automatic download of j2se 1.4 in webstart is not possible

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. create a jlnp file with a request for a 1.4 j2se
2. download it with the 1.0.1 webstart.


EXPECTED VERSUS ACTUAL BEHAVIOR :
expected: auto download of 1.4 jre.

actual: webstart gives error message.

 ERROR MESSAGES/STACK TRACES THAT OCCUR :
 GET http://java.sun.com/products/autodl/j2se?platform-
 version-id=1.4.0&arch=x86&os=Windows+98&locale=en_US&known-platforms=1.3+ -->    302 Moved Temporarily
 GET
 http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.
 JNLPServlet/j2se?platform-version-
 id=1.4.0&arch=x86&os=Windows+98&locale=en_US&known-platforms=1.3+ --> 200 OK
 Date: Wed, 20 Feb 2002 20:40:24 GMT
 Server: Netscape-Enterprise/4.1
 Content-Type: application/x-java-jnlp-error
 Client-Date: Wed, 20 Feb 2002 20:45:55 GMT
 Client-Response-Num: 1
 Proxy-Connection: close
 X-Cache: MISS from nyx.isps
 X-Cache-Lookup: MISS from nyx.isps:3128

 11 Could not locate requested version


 An error occurred while launching/running the application.

 Title: RailControl
 Vendor: Sim IJskes
 Category: Download Error

The application has requested a version of the Java 2 platform (JRE) that is cur
rently not locally installed. Java Web Start was unable to automatically downloa
d 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)

------------ BEGIN SOURCE -----------------
<?xml version="1.0+" encoding="utf-8"?>
<!-- $Id: railcontrol.jnlp,v 1.5 2002/02/12 09:39:13 sim Exp $ -->
<jnlp spec="1.0" codebase="http://nyx.xs4all.nl/railcontrol" href="railcontrol.jnlp">
    <information>
        <title>RailControl</title>
        <vendor>Sim IJskes</vendor>
        <homepage href="http://www.xs4all.nl/~yskes"/>
        <description>Railcontrol controls a model railway</description>
    </information>
    <resources>
        <j2se version="1.4"/>
        <jar href="rcclient.jar" download="eager"/>
        <jar href="castor-0.9.3-xml.jar" download="eager"/>
        <jar href="xerces.jar" download="eager"/>
        <property name="sgy.railcontrol.gui.allowpreferences" value="false"/>
        <property name="sgy.railcontrol.remote.rmihost" value="nyx.xs4all.nl"/>
        <property name="sgy.railcontrol.remote.rmiport" value="2002"/>
    </resources>
    <security>
        <all-permissions/>
    </security>
    <application-desc main-class="sgy.railcontrol.RailControl">
        <argument>-client</argument>
    </application-desc>
</jnlp>

------------- END SOURCE ------------------

This bug can be reproduced always.
(Review ID: 139945) 
======================================================================