File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes JARSigningException when deploying a jar on webstart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "JARSigningException when deploying a jar on webstart" Watch "JARSigningException when deploying a jar on webstart" New topic

JARSigningException when deploying a jar on webstart

James Wagner

Joined: Jun 25, 2007
Posts: 9
Hi, been trying to deploy an application on web start. It contains multiple third party jar files, some of which have been signed with a certificate that has since expired, once this problem was discovered I followed advice from Java forums and deleted DSA and RS files from the META-INF folder. To avoid conflicting problems with multiple jars, and since just in the testing stage I decided to just unpack all the jars and repack into a blob.jar, signing and verifying it with jarsigner, and listing this then as the only resource in the jnlp file. Presently just testing on localhost, with the jnlp and the blob.jar being deployed via Tomcat.

Any ideas what reason there is for this exception still being thrown? Thanks.

Here is the exception being thrown: Could not verify signing in resource: http://localhost:8080/tmev/lib/blob.jar
at Source)
at Source)
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$ Source)
at Source)

Here is the jnlp file :

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

It's likely you'll have to dance around with tweaking your manifest file a little.

This is filled with interesting examples of what other people have done to fix a similar issue.

A good workman is known by his tools.
James Wagner

Joined: Jun 25, 2007
Posts: 9
Hi thanks for the link, though tweaking the manifest really did not seem to help with the problem at all. Ended up just figuring out the one jar file signed by another authority was non-essential and removed it from the jnlp file, not too sure what I could do if it were essential.
I agree. Here's the link:
subject: JARSigningException when deploying a jar on webstart
jQuery in Action, 3rd edition