管辖权政策文件未由受信任的签名者签名......?

发布于 2024-08-05 07:20:10 字数 1558 浏览 8 评论 0原文

在 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.access$600(Unknown Source)

        at javax.crypto.b$0.run(Unknown Source)

        at java.security.AccessController.doPrivileged(AccessController.java:246)

如果我们使用此版本的 java

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

并且我们在具有下一版本的 java 的同一 AIX 上没有任何异常

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

有什么建议吗?

We have next exception during starting of our application under JBoss on AIX:

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.access$600(Unknown Source)

        at javax.crypto.b$0.run(Unknown Source)

        at java.security.AccessController.doPrivileged(AccessController.java:246)

if we use this version of 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

And we do not have any exceptions on the same AIX with next version of 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

Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

滥情空心 2024-08-12 07:20:10

http://www.ibm.com/developerworks/java/jdk/security /50/
IBM 的 SDK 附带强大但权限有限的策略文件。
可以从上面的链接获取无限管辖策略文件。应解压 ZIP 文件并将两个 JAR 文件放置在 JRE 的 jre/lib/security/ 目录中。这些策略文件与 IBM 开发的 SDK 一起使用。

应下载新的 IBM SDK 策略文件并将其安装到 /usr/java5_64/jre/lib/security 目录。

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.

New IBM SDK Policy files should be downloaded and installed to /usr/java5_64/jre/lib/security directory.

疯到世界奔溃 2024-08-12 07:20:10

看来第二个环境是32位的。

编辑:也许64位环境还不够成熟(问题可能是VM/OS集成的问题)。

问候。

It seems the second environment is a 32bits one.

EDIT: Maybe the 64 bits environment is not enough mature (the problem could be a problem with the VM/OS integration).

Regards.

生来就爱笑 2024-08-12 07:20:10

Im running osx lion. I received this error because I had updated the 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文