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

Updating a JAR file causes Web Start to hang upon next use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.2.0
    • deploy
    • x86
    • windows_2000



      Name: nt126004 Date: 09/04/2002


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

      FULL OPERATING SYSTEM VERSION :Microsoft Windows 2000
      [Version 5.00.2195]


      ADDITIONAL OPERATING SYSTEMS : Linux (using file 'j2re-
      1_4_0_01-linux-i586.bin' to install the JRE and Java Web
      Start)

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      This problem also occurs using Java Web Start 1.0.1_02.

      A DESCRIPTION OF THE PROBLEM :
      The initial use of an application works fine with Web
      Start, but updating one of the application's JAR files
      causes Web Start to hang upon the next use of the updated
      application.

      Here are the details: The updated JAR file is loaded and
      validated by Web Start, however nothing happens after the
      progress bar reports "Scanning entries (100% done)".
      If Web Start's cancel button is clicked the application can
      be relaunched run without further problems.

      For testing purposes I updated the JAR file by resigning it
      with jarsigner.
      All of the application's JAR files were signed, however I
      don't believe this is necessary to cause the problem.

      This problem has been reported numerous times over the past
      year. See the following URLs:
      http://forum.java.sun.com/thread.jsp?forum=38&thread=168248
      http://forum.java.sun.com/thread.jsp?forum=38&thread=286088

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Launch an application with Java Web Start.
      2. Modify one of the application's JAR files in a way that
      will cause Java Web Start to download it when the
      application is next launched.
      3. Launch the application with Java Web Start.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      I think Web Start should not hang.
      It should launch the application
      (I realize the updated version of the application may not
      be used until the next launch, as per
      http://java.sun.com/products/javawebstart/faq.html#14)

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Here is the JNLP file:
      decision.jar was the JAR file I updated.

      <?xml version="1.0" encoding="utf-8"?>

      <jnlp spec="0.2 1.0"
            codebase="http://192.168.100.236"
            href="decision.jnlp">
         <information>
            <title>DECISION</title>
            <vendor>Voter News Service</vendor>
            <homepage href="Default.htm"/>
            <description>TEST</description>
            <icon href="VNS_LOGO.small.gif"/>
         </information>
         <resources>
            <j2se version="1.4"/>
            <jar href="vreps.signed/decision.jar" main="true" download="eager"/>
            <jar href="vreps.signed/lib/weblogic.jar"/>
            <jar href="vreps.signed/lib/vns-core-ejb.jar"/>
            <jar href="vreps.signed/lib/broker.jar"/>
            <jar href="vreps.signed/lib/borlandxml.jar"/>
            <jar href="vreps.signed/lib/xerces.jar"/>
            <jar href="vreps.signed/lib/xml4j.jar"/>
            <jar href="vreps.signed/lib/jdom.jar"/>
            <jar href="vreps.signed/lib/jcdatasourceK.jar"/>
            <jar href="vreps.signed/lib/jcelementsK.jar"/>
            <jar href="vreps.signed/lib/jcfieldK.jar"/>
            <jar href="vreps.signed/lib/jctableK.jar"/>
            <jar href="vreps.signed/lib/crimson.jar"/>
            <jar href="vreps.signed/lib/flux.jar"/>
            <jar href="vreps.signed/lib/jaxp.jar"/>
            <jar href="vreps.signed/lib/log4j.jar"/>
            <jar href="vreps.signed/lib/skinlf.jar"/>
            <jar href="vreps.signed/lib/skinlf-nojimi.jar"/>
            <jar href="vreps.signed/lib/skinregion.jar"/>
            <jar href="vreps.signed/lib/std_xml-project-statelessSession.jar"/>
            <jar href="vreps.signed/lib/xalan.jar"/>
            <jar href="vreps.signed/lib/xmlparserv2.jar"/>
            <jar href="vreps.signed/lib/estimatedoc.jar"/>
            <jar href="vreps.signed/lib/votedoc.jar"/>
            <jar href="vreps.signed/lib/sonic_Client.jar"/>
            <jar href="vreps.signed/lib/j2ee.jar"/>
            <jar href="vreps.signed/lib/optional.jar"/>
            <jar href="vreps.signed/lib/struts.jar"/>
            <jar href="vreps.signed/lib/classes12.jar"/>
            <jar href="vreps.signed/lib/runtime.jar"/>
            <jar href="vreps.signed/lib/translator.jar"/>
         </resources>
         <application-desc main-class="com.vreps.client.gui.VREPSDecisionScreen"/>
         <security>
         <all-permissions/>
         </security>
      </jnlp>
      ---------- END SOURCE ----------
      (Review ID: 163552)
      ======================================================================

            ngthomas Thomas Ng (Inactive)
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: