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

Check of signed jar files does not work correct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • deploy
    • x86
    • windows_xp



      Name: gm110360 Date: 09/10/2003


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

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      This is the same as 4739089. It appears that this bug is back again in 1.4.2.

      I signed a jar file with 1.4.2 and put it onto a web server. Then I tried to start it with my jnlp-file.

      jarsigner -verify told me that the jar-file is ok.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a application.
      Create a jar containing the files.
      Sign the jar-file.
      Create a JNLP-File to start the application
      Put the jar file and the JNLP-file onto a web server.
      Try to start the application with web start.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The application should start.
      ACTUAL -
      Web Start dows not start the application

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Message from Web Start:
      JNLPException[category: Download-Fehler : Exception: null : LaunchDesc: null ]
      at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
      at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
      at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

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

            herrick Andy Herrick (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: