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

WebStart fails to update from CD-ROM as codebase

XMLWordPrintable

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



      Name: nt126004 Date: 09/23/2002


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


      FULL OPERATING SYSTEM VERSION :

      Windows NT Version 4.0

      A DESCRIPTION OF THE PROBLEM :
      I am evaluating if JAR files could be distributed on CD-ROM to customers without fast network access.

      So I changed the codebase attribute in my JNLP file to "file:/D:/", D: being the CD-ROM drive.

      This works as long as there is a CD in the drive. Remove the CD, and WebStart fails with "drive not accessible".

      This behaviour differs from the behaviour when using a web server as codebase via HTTP.
      If the web server does not reply, WebStart will quietly launch the cached version of the application.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Write a JNLP file using a CD-ROM directory as codebase.
      2. Insert CD-ROM with application's resources.
      3. Launch JNLP file with WebStart.
      4. Remove CD-ROM.
      5. Launch JNLP file again.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      WebStart should not report a "drive not ready" error but launch the cached version of the application (if any).


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

            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: