on 04-19-2016 4:14 PM
Hi All,
I have implemented Adapter Module in EJB 3.0 in SAP PI 7.4.while executing scenario I am getting exception in logs "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: com/sap/engine/boot/loader/SAPNoClassDefFoundError; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/engine/boot/loader/SAPNoClassDefFoundError; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/engine/boot/loader/SAPNoClassDefFoundError; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sap/engine/boot/loader/SAPNoClassDefFoundError "
I have deployed module successfully using NWDS. In that module I am trying to pass input payload to external JAR files by implementing methods in that JAR file here is my code.
public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
throws ModuleException {
Object obj;
String st1 = null;
String st2 = null;
String st3 = null;
st1=moduleContext.getContextData("XXXX");
st2=moduleContext.getContextData("XXXX");
st3=moduleContext.getContextData("XXXX");
obj = (Message) inputModuleData.getPrincipalData();
String st=obj.toString();
MQ_JAR_Execution_MP mq =new MQ_JAR_Execution_MP();
mq.main(st,st1,st2,st3);
Thanks in advance.
Thanks&Regards,
Ganesh Gullipalli.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.