cancel
Showing results for 
Search instead for 
Did you mean: 

getMethodReady() for stateless bean exception

aayushaggarwal
Participant
0 Kudos

Hi Experts,

I have a IDoc to SOAP scenario, I am trying to use the axis adapter to create the wsse security soap header envelop using module beans, but after all the configurations i got the below mentioned error:

"Message processing failed. Cause: javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.axis.modules.AFAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@6d710dc7 for bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean; nested exception is: javax.ejb.CreateException: java.lang.NoClassDefFoundError: org/apache/axis/AxisFault".

(Attached are the screenshots of CC(cc1.png) and error(error.png))

Could you please tell me on how to fix this error.

Thanks in advance...

Aayush Aggarwal


Accepted Solutions (0)

Answers (4)

Answers (4)

Andrzej_Filusz
Contributor

Hi,

The error message you received (java.lang.NoClassDefFoundError: org/apache/axis/AxisFault) suggests that there is a problem with Axis libraries. Are you sure you have all required Axis libraries deployed to your PI system?

You can check it using the following URL:

http://<your_host>:<your_port>/XIAxisAdapter/MessageServlet

Regards,

Andrzej

Andrzej_Filusz
Contributor
0 Kudos

Hi,

Please read the answers for questions:

1. How can I start using the Axis adapter?

3. How to prepare axis provider lib sda?

in "General Questions" section of the following note: 1039369 - FAQ XI Axis Adapter.

You have to create an SDA file (containing all required Axis libraries) and deploy it to your PI system.

Regards,

Andrzej

Andrzej_Filusz
Contributor
0 Kudos

Hi,

Please check the required components section. The status should look like below:

Number of Missing Components: 0

Status: OK

The optional components section can have missing components, of course. It depends on your requirements which ones you have to have installed on your system.

Regards,

Andrzej

aayushaggarwal
Participant
0 Kudos

Hi Andrzej,

There are two types of components:

Required Components

Number of Missing Components: 3

Status: Error


Optional Components

Number of Missing Components: 8

Status: Warning

What should i do in this case ??

Regards,

Aayush Aggarwal

Former Member
0 Kudos

Hello Aayush,
Can you attach the screenshot about the AXIS driver deployment from page http://host:port/XIAxisAdapter/MessageServlet ?

Best regards,
Vadym

aayushaggarwal
Participant
0 Kudos

Hi Andrzej/Vadym,

Apologies for the late response...

Basis team installed the required components and messageservlet.pngmessageservlet2.pngAttached is the screenshot...

Also, still i am getting the below mentioned error:

Adapter Framework caught exception: I/O operation failed : java.lang.ClassNotFoundException: com.sap.engine.messaging.impl.spi.transport.PasswordCredentialImpl ------------------------- Loader Info ------------------------- ClassLoader name: [sap.com/com.sap.aii.axis.app] Living status: alive Direct parent loaders: [system:Frame] [service:servlet_jsp] [service:ejb] [sap.com/com.sap.aii.adapter.axis] Resources: /usr/sap/XI2/DVEBMGS10/j2ee/cluster/apps/sap.com/com.sap.aii.axis.app/EJBContainer/applicationjars/com.sap.aii.adapter.axis.ejb.jar /usr/sap/XI2/DVEBMGS10/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 --------------------------------------------------------------- :

Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.lang.ClassNotFoundException: com.sap.engine.messaging.impl.spi.transport.PasswordCredentialImpl ------------------------- Loader Info ------------------------- ClassLoader name: [sap.com/com.sap.aii.axis.app] Living status: alive Direct parent loaders: [system:Frame] [service:servlet_jsp] [service:ejb] [sap.com/com.sap.aii.adapter.axis] Resources: /usr/sap/XI2/DVEBMGS10/j2ee/cluster/apps/sap.com/com.sap.aii.axis.app/EJBContainer/applicationjars/com.sap.aii.adapter.axis.ejb.jar /usr/sap/XI2/DVEBMGS10/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 --------------------------------------------------------------- :.

Could you please help me out with this?

Thanks in advance...

Aayush Aggarwal

aayushaggarwal
Participant
0 Kudos

Hi Andrzej,

Thanks for your reply.

Could you please tell me what to check in

http://<your_host>:<your_port>/XIAxisAdapter/MessageServlet

Regards,

Aayush Aggarwal