java 管辖策略文件不是由受信任的签名者签名的......?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1443871/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Jurisdiction policy files are not signed by trusted signers....?
提问by Volodymyr Bezuglyy
We have next exception during starting of our application under JBoss on AIX:
在 AIX 上的 JBoss 下启动我们的应用程序时,我们遇到了下一个异常:
Caused by: java.lang.SecurityException: Cannot set up certs fo
12:56:25,055 INFO [STDOUT] r trusted CAs
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
... 83 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted
signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access0(Unknown Source)
at javax.crypto.b##代码##.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
if we use this version of java
如果我们使用这个版本的java
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20090707 (SR10 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20090707 (JIT enabled)
J9VM - 20090706_38445_BHdSMr
JIT - 20090623_1334_r8
GC - 200906_09)
JCL - 20090705
Java 版本“1.5.0”
Java(TM) 2 运行时环境,标准版(构建 pap64dev-20090707 (SR10))
IBM J9 VM(构建 2.3,J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20090707(启用 JIT)
J9VM - 20090706_38445_BHdSMr
JIT - 20090623_1334_r8
GC - 200906_09)
JCL-20090705
And we do not have any exceptions on the same AIX with next version of java
并且我们在同一 AIX 上与下一版本的 java 没有任何异常
java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
J9VM - 20080314_17962_bHdSMr
JIT - 20080130_0718ifx2_r8
GC - 200802_08)
JCL - 20080314
java 版本“1.5.0”Java(TM) 2 运行时环境,标准版(构建 pap32dev-20080315 (SR7))
IBM J9 VM(构建 2.3,J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20080315(启用 JIT)
J9VM - 20080314_17962_bHdSMr
JIT - 20080130_0718ifx2_r8
GC - 200802_08)
JCL-20080314
Any suggestions?
有什么建议?
回答by Volodymyr Bezuglyy
http://www.ibm.com/developerworks/java/jdk/security/50/IBM's SDKs ship with strong but limited jurisdiction policy files. Unlimited jurisdiction policy files can be obtained from the link above. The ZIP file should be unpacked and the two JAR files placed in the JRE's jre/lib/security/ directory. These policy files are for use with IBM developed SDKs.
http://www.ibm.com/developerworks/java/jdk/security/50/IBM 的 SDK 附带强大但有限的权限策略文件。可以从上面的链接获得无限的管辖政策文件。应该解压 ZIP 文件并将两个 JAR 文件放在 JRE 的 jre/lib/security/ 目录中。这些策略文件用于 IBM 开发的 SDK。
New IBM SDK Policy files should be downloaded and installed to /usr/java5_64/jre/lib/security directory.
应下载新的 IBM SDK 策略文件并将其安装到 /usr/java5_64/jre/lib/security 目录。
回答by ATorras
It seems the second environment is a 32bits one.
似乎第二个环境是一个 32 位的环境。
EDIT: Maybe the 64 bits environment is not enough mature (the problem could be a problem with the VM/OS integration).
编辑:也许 64 位环境还不够成熟(问题可能是 VM/OS 集成的问题)。
Regards.
问候。
回答by owen gerig
Im running osx lion. I received this error because I had updatedthe Unlimited Strength Jurisdiction Policy Files from java's website. After getting this error I went back and set the originals back, and the error was resolved.
我正在运行 osx 狮子。我收到此错误是因为我已从 java 的网站更新了 Unlimited Strength Jurisdiction Policy Files。收到此错误后,我返回并将原件放回原处,错误已解决。

