更新Java 7u17到Java 8u25 SecurityException后的Java Web启动错误

时间:2014-10-22 02:05:06

标签: java java-web-start jar-signing

将Java 7u17更新为Java 8u25后的Java Web启动错误

SecurityException com.sun.deploy.net.JARSigningExceptions: Found unsigned entry in resource:

我的应用程序使用自签名方法通过JWS进行部署。

我使用JDK6生成密钥库,证书并签署jar。并在客户端使用JRE7u17(实际上从JRE6u21开始,然后一路更新)来加载jnlp文件并启动应用程序。

一切正常,直到我将客户端JRE更新为最新的8u25。然后我一如既往地双击快捷方式启动应用程序。但是会出现以下错误。

所有环境都在Windows上

com.sun.deploy.net.JARSigningException: Found unsigned entry in resource:(http://xxx.xxx.xxx.xxx/app/app.jar, 0.2.2.01)
at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
at com.sun.javaws.security.SigningInfo.check(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(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.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

错误说明了未签名的条目,但我根本没有修改应用程序jar。因此,我认为它已经正确签署。

我试图在互联网上搜索并没有找到具体的解决方案,所以我希望得到您的帮助来解决这个问题。

0 个答案:

没有答案