JDK-4920115 : Check of signed jar files does not work correct
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-09-10
  • Updated: 2003-09-18
  • Resolved: 2003-09-18
Related Reports
Duplicate :  
Description

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) 
======================================================================

Comments
EVALUATION We don't see this problem when we sign a jar with 1.4.2_01 jarsigner and host it for use with java web start. Can you provide some more info ? 1.) what exactly were your steps to sign the jar? 2.) can provide pointer to such a jar? ###@###.### 2003-09-10 The bug is in jarsigned 1.4.2 and beyond, wont sign entries with non-english characters in entry name or path. see 4924188
2003-09-10