Hi All,
I have created an iFlow of file to AS2 and to test it end to end, another iFlow of AS2 to file. From first interface I am routing the message to second one, via AS2 receiver. Its a straight forward configuration, with no MDN or encryption (plain HTTP). Current configuration is working fine.
When I tried to test the interface with digital signature, I am getting below error in AS2 receiver channel:
"Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/mail/smime/SMIMESignedGenerator : cannot initialize class because prior initialization attempt failed"
Please note that I have selected the public/private key pair and certificate of SAP PI system itself in both sender and receiver AS2 adapters.
Has anyone come across this issue earlier?
Regards,
Sanjeev.