我的申请确认了许可证档案,以便其开展工作。 它通过叫javax.codeo.Cipher.getInstance (“DES”),“SunJCE”来排列许可证关键档案。
当我在当地提出申请时,所有东西都行得当,但当我用小船提出申请,然后到我想要验证服务器的许可证档案时,我发现以下错误:
java.lang.SecurityException: JCE cannot authenticate the provider SunJCE
at javax.crypto.Cipher.getInstance(DashoA13*..)
at javax.crypto.Cipher.getInstance(DashoA13*..)
Like I said, it works fine from command prompt and eclipse, but not as a servlet on jboss. Does anybody have any idea what I need to do? I am using jdk 1.6 and jboss as 7.
Thanks