Symptom
Recently upgraded NetWeaver to 7.50 SP 33 and not able to send or receive messages or MDN-s with the AS2 adapter.
The AS2 scenarios start failing and following errors can be observed.
- NWA -> Troubleshooting -> Logs and Traces -> Log Viewer:
Exception caught by adapter framework: Error occurred: nested exception is: javax.ejb.EJBTransactionRolledbackException: Transaction ended with error, reason: nested exception is: javax.ejb.EJBException: nested exception is java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class iaik.cms.SecurityProvider
- In default traces following errors can be seen:
Message processing failed. Cause: javax.ejb.TransactionRolledbackLocalException: Error occurred: nested exception is: javax.ejb.EJBTransactionRolledbackException: Transaction ended with error, reason: nested exception is: javax.ejb.EJBException: nested exception is java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class iaik.cms.SecurityProvider
Message processing failed. Cause: javax.ejb.TransactionRolledbackLocalException: Error occurred: nested exception is: javax.ejb.EJBTransactionRolledbackException: Transaction ended with error, reason: nested exception is: javax.ejb.EJBException: nested exception is java.lang.RuntimeException: java.lang.NoSuchFieldError: algorithms
Or
javax.ejb.EJBException: nested exception is java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class iaik.cms.SecurityProvider
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class iaik.cms.SecurityProvider
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:99)
(..)
Context.proceedFinal(RequestInvocationContext.java:47)
Caused by java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: algorithms [in thread "MS Queue Worker [SOAP_http://sap.com/xi/XI/SystemSend]"]
at iaik.cms.CMSAlgorithmID.<init>(SourceFile:....
Read more...
Environment
- SAP Process Integration 7.50
- SAP Process Orchestration 7.50 SP33 onwards.
Keywords
java.lang.NoClassDefFoundError, iaik.cms.SecurityProvider, algorithms, IAIK, algorithms , KBA , BC-XI-CON-B2B-AS2 , Applicability Statement Protocol Adapter , BC-XI-CON-B2B , B2B add-on (business-to-business) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview