Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling an EJB from Java Mappings in PI 7.1

In my operation mapping, I am using a Java class which in turn invokes an EJB using JNDI lookup.

When I execute the code, the class is successfully finding the EJB using JNDI, but invoking it I am getting a java.lang.NoClassDefFoundError.

If, I add the class it cannot find to the jar containing the Java mapping class, I get a java.lang.ClassCastException.

Has anyone been able to call a custom EJB from with a Java Mapping class?

Any help appreciated.


Former Member
Not what you were looking for? View more on this topic or Ask a question