当前位置: 技术问答>linux和unix
aix主机上出现的异常,很着急,求指导
来源: 互联网 发布时间:2017-04-15
本文导语: 程序使用数字证书,hp-ux上程序正常,aix上抛如下异常,应该是jdk差异导致的,但是具体如何解决,求大神指导: ERROR:2013-03-14 09:23:32,860 [ com.test.BO - 412 ] - DerInputStream.getLength(): lengthTag=127, too big. java.io.IOExcepti...
程序使用数字证书,hp-ux上程序正常,aix上抛如下异常,应该是jdk差异导致的,但是具体如何解决,求大神指导:
ERROR:2013-03-14 09:23:32,860 [ com.test.BO - 412 ] - DerInputStream.getLength(): lengthTag=127, too big.
java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
at java.lang.Throwable.(Throwable.java:67)
at com.ibm.security.util.DerInputStream.getLength(DerInputStream.java:711)
at com.ibm.security.util.DerInputStream.getLength(DerInputStream.java:698)
at com.ibm.security.util.DerValue.(DerValue.java:254)
at com.ibm.security.util.DerInputStream.getDerValue(DerInputStream.java:499)
at com.ibm.security.pkcsutil.PKCSDerObject.decode(PKCSDerObject.java:258)
at com.ibm.security.pkcs12.AuthenticatedSafe.(AuthenticatedSafe.java:87)
at com.ibm.security.pkcs12.BasicPFX.verifyMac(BasicPFX.java:1203)
at com.ibm.security.pkcs12.PFX.verifyMac(PFX.java:795)
at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:414)
ERROR:2013-03-14 09:23:32,860 [ com.test.BO - 412 ] - DerInputStream.getLength(): lengthTag=127, too big.
java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
at java.lang.Throwable.(Throwable.java:67)
at com.ibm.security.util.DerInputStream.getLength(DerInputStream.java:711)
at com.ibm.security.util.DerInputStream.getLength(DerInputStream.java:698)
at com.ibm.security.util.DerValue.(DerValue.java:254)
at com.ibm.security.util.DerInputStream.getDerValue(DerInputStream.java:499)
at com.ibm.security.pkcsutil.PKCSDerObject.decode(PKCSDerObject.java:258)
at com.ibm.security.pkcs12.AuthenticatedSafe.(AuthenticatedSafe.java:87)
at com.ibm.security.pkcs12.BasicPFX.verifyMac(BasicPFX.java:1203)
at com.ibm.security.pkcs12.PFX.verifyMac(PFX.java:795)
at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:414)
|
同样的问题, 找资料说可以替换jre /lib/security下面的俩个jar就行了, 但是我这边测试环境不能替换, 目前都还没有解决,也求救, 如果有知道的麻烦发我liugongmiao@126.com邮箱