java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.ClassCastException: com.baltimore.jpkiplus.x509.Name

(Doc ID 1028792.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Sun e*Gate - Version 4.1.2 and later
Information in this document applies to any platform.
Sun SeeBeyond e*Gate - Version: 4.5.3 and later


Symptoms

SME eWay fails with these errors:

01:45:01.562 COL I 5196 (initialize.cxx:302): JCS: Java collaboration translate threw a java.lang.Exception!
01:45:01.578 COL I 5196 (java_extensions.cxx:1040): *************** Exception occurred **************
01:45:01.578 COL I 5196 (java_extensions.cxx:1040): toString: java.lang.ExceptionInInitializerError
01:45:01.593 COL I 5196 (java_extensions.cxx:1040):
01:45:01.609 COL I 5196 (java_extensions.cxx:1040): getMessage: null
01:45:01.609 COL I 5196 (java_extensions.cxx:1040):
01:45:01.625 COL I 5196 (java_extensions.cxx:1040): StackTrace:
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.ClassCastException: com.baltimore.jpkiplus.x509.Name
    at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
    at javax.crypto.Cipher.a(DashoA6275)
    at javax.crypto.Cipher.getInstance(DashoA6275)
    at com.baltimore.jcrypto.provider.crypto.signatures.JCRYPTO_NullwithRSASignature.<init>([DashoPro-V1.3-013000])
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Unknown Source)
    at java.security.Security.getImpl(Unknown Source)
    at java.security.Signature.getInstance(Unknown Source)
    at com.baltimore.jsmt.smime.SMIMEv2.verify(SMIMEv2.java:1546)
    at com.stc.sme.baltimore.BaltimoreSME.verify(BaltimoreSME.java:615)
    at com.stc.sme.baltimore.BaltimoreSME.verify(BaltimoreSME.java:561)
    at com.stc.sme.SMEMessage.verify(SMEMessage.java:49)
    at com.stc.sme.eway.SMEMessageApp.verify(SMEMessageApp.java:611)
    at creGate_UnsignedINVPDF_to_SignedINVPDF.executeBusinessRules(creGate_UnsignedINVPDF_to_SignedINVPDF.java:139)
    at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:144)
    at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:518)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms