SAP Knowledge Base Article - Preview

2711472 - NoClassDefFoundError: org/apache/axis/MessageContext when using AXIS adapter

Symptom

You have a scenario in your system which uses the AXIS Adapter in the sender or receiver communication channels.

When sending a message in this scenario, the same fails with the following error (visible in the XPI traces):

Catching java.lang.NoClassDefFoundError: org/apache/axis/MessageContext
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forNameFW(Class.java:261)
at java.lang.Class.forName(Class.java:171)
at com.sap.aii.adapter.axis.modules.AFAdapterBean.ejbCreate(AFAdapterBean.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Callback2xStyleInvocation.invoke(Interceptors_Callback2xStyleInvocation.java:23)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
...
Caused by: java.lang.ClassNotFoundException: org.apache.axis.MessageContext
------------------------- Loader Info -------------------------
ClassLoader name: [sap.com/com.sap.aii.axis.app]
Loader hash code: 31172e72
Living status: alive
Direct parent loaders:
[system:Frame]
[interface:webservices]
[interface:cross]
[interface:security]
[interface:transactionext]
[library:webservices_lib]
[library:opensql]
[library:jms]
[library:ejb20]
[service:p4]
[service:ejb]
[service:servlet_jsp]
[sap.com/com.sap.aii.adapter.axis]
Resources:
/usr/sap/<SID>/<server>/j2ee/cluster/apps/sap.com/com.sap.aii.axis.app/EJBContainer/applicationjars/com.sap.aii.adapter.axis.ejb.jar
/usr/sap/<SID>/<server>/j2ee/cluster/apps/sap.com/com.sap.aii.axis.app/servlet_jsp/XIAxisAdapter/root/WEB-INF/lib/com.sap.aii.adapter.axis.web_api.jar
---------------------------------------------------------------
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:280)
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:249)
... 105 more


Read more...

Environment

  • SAP NetWeaver
  • SAP Process Integration

Product

SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

AXIS, Missing, MessageContext, NoClassDefFound, SuccessFactors, SF, Onboarding, Integration, Exception, Deploy, Class, App, Library, Error, Process Integration, PI, Process Orchestration, PO, NetWeaver, XI, AEX , KBA , BC-XI-CON-AXS , Axis Extention for SOAP Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.