Siging a JAR

I have followed the steps to sign JARs. It worked at first. I haven’t changed any of the signing files, but now I am getting the following error:

[quote]Could not verify signing in resource: http://24.103.107.96/lwjgl-windows.jar
[/quote]
With this exception

[quote]JNLPException[category: Download Error : Exception: java.io.FileNotFoundException: F:\Documents and Settings\Mark Bernard\Application Data\Sun\Java\Deployment\javaws\cache\http\D24.103.107.96\P80\RNlwjgl-windows.jar\lwjgl.dll (The process cannot access the file because it is being used by another process) : 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)
[/quote]
I haven’t touched any of the signing stuff.

Any thoughts?

You can try it out at http://24.103.107.96

Looks like you were running (or had a process running in the background) that was using your DLL. So, had you run the webstart once already… it didn’t shut down properly, hence it locked the DLL and prevented you running

If this is the case rebooting would sort it out.

The signing exception exception and message seem slightly unrelated.

Kev

Thanks. That must be it. Now that you mention that, I remember a post that someone said the javaw process did not shut down when webstarted and the response was to put a System.exit(0) in to get it to shut down.

Thanks Kev.