Skip to Content
0

getMethodReady() for stateless bean exception

May 08, 2017 at 01:15 PM

250

avatar image

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


error.png (25.8 kB)
cc1.png (18.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Andrzej Filusz May 08, 2017 at 01:31 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Aayush Aggarwal May 10, 2017 at 05:46 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Andrzej Filusz May 10, 2017 at 07:28 AM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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

0

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

Best regards,
Vadym

0

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

0
Andrzej Filusz May 10, 2017 at 01:57 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded