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

REGRESSION: Java Web Start can't start dowloaded application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0
    • deploy
    • x86
    • windows_xp

      Name: gm110360 Date: 06/01/2004


      FULL PRODUCT VERSION :
      JDK1.5.0-beta2-b51

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Java Web Start in JDK1.5.0-beta2 is unable to start an application that works perfectly well in Java 1.4.2.

      The application in question uses the all-permisions JNLP tag and as such is signed. It seems that something about the signitues on the Jars is causing WebStart to break.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) open a link for a signed JWS application that requiers all-permissions
      2) wait for application to download
      3) Web Start will say "starting application..."

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Application starts
      ACTUAL -
      watched it popup warning dialog saying "Failed to validate certificate. This application will not be run."

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
       "Failed to validate certificate. This application will not be run."

      Exception was:
      java.security.cert.CertificateException: Check leaf key usage failed in certificate
              at com.sun.deploy.security.CertUtils.checkUsageForCodeSigning (Unknown source)
              ...

      there's no way to copy the exception from the exception dialog so i've had to type exception fragment in.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 275416)
      ======================================================================

            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: