cancel
Showing results for 
Search instead for 
Did you mean: 

Axis Communication channel ping error

Former Member
0 Kudos

I created a simple axis communicatioin channel and when I pinged th channel form the commmuicatin channel monitoring I am getting the error.

System eror. Error in the system.

I have attached screenshots of configurations. am i missing anything

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Midhun,
can you provide more details about error you have got?

Former Member
0 Kudos

Hi Vadym

I am running a scenario and I am getting this error in communication channel

Axis: fatal error in invocation: java.lang.NoClassDefFoundError: org/apache/axis/description/OperationDesc : cannot initialize class because prior initialization attempt failed


MP: exception caught with cause javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/axis/description/OperationDesc : cannot initialize class because prior initialization attempt failed


I have an ECC to webservice scenario. I am encrypting the scenario in PI and sending it to webservices and it is an asynchronous scenario.

ws sec I am using..

when i type this url, http://host:port/XIAxisAdapter/MessageServlet  I am getting all mandatory components but regarding optional elements, i getting this error

  • XML Security API
    Warning: optional component missing --- looking for org.apache.xml.security.Init in com.sap.aii.af.axisproviderlib/xmlsec.jar; see http://xml.apache.org/security/
  • Apache Xalan
    Warning: optional component missing --- looking for org.apache.xalan.Version in com.sap.aii.af.axisproviderlib/xalan.jar; see http://xml.apache.org/xalan-j/
  • Jakarta-Commons Codec
    Warning: optional component missing --- looking for org.apache.commons.codec.Encoder in com.sap.aii.af.axisproviderlib/commons-codec.jar; see http://jakarta.apache.org/commons/codec/
  • Jakarta-Commons Net
    Warning: optional component missing --- looking for org.apache.commons.net.SocketFactory in com.sap.aii.af.axisproviderlib/commons-net.jar; see http://jakarta.apache.org/commons/net/
  • Jakarta-Commons HttpClient
    Warning: optional component missing --- looking for org.apache.commons.httpclient.HttpClient in com.sap.aii.af.axisproviderlib/commons-httpclient.jar; see http://jakarta.apache.org/commons/httpclient/
  • Apache WSS4J
    Warning: optional component missing --- looking for org.apache.ws.security.WSSConfig in com.sap.aii.af.axisproviderlib/wss4j.jar; see http://ws.apache.org/wss4j/
  • Apache Addressing
    Warning: optional component missing --- looking for org.apache.axis.message.addressing.Constants in com.sap.aii.af.axisproviderlib/addressing.jar; see http://ws.apache.org/addressing/
  • Apache Sandesha
    Warning: optional component missing --- looking for org.apache.sandesha.Constants in com.sap.aii.af.axisproviderlib/Sandesha.jar; see http://ws.apache.org/sandesha/

For my scenario which of these should I include

Former Member
0 Kudos

Hi Midhun,
it seems like you have the missed class. Try the following steps:

  1. Download the wsdl4j jar for example from http://sourceforge.net/projects/wsdl4j/
  2. Add this wsdl4j jar file to the com.sap.aii.af.axisproviderlib.sda and deploy it.

You can find the details about how to prepare the sda file in SAP Note #1028961.

Best regards,
Vadym

mate_moricz
Advisor
Advisor
0 Kudos

Hi Midhun,

Check SAP Note 1776204.

Regards,
Mate

iaki_vila
Active Contributor
0 Kudos

Hi Midhun,

Have you checked first the AXIS libraries are installed http://hostname:50000/XIAxisAdapter/MessageServlet?

Have you test the connection from SOAPui?

Regards.

Former Member
0 Kudos

I have checked the URL and the mandatory components are installed. It says all three are there!

I am not doing an end to end scenario. I just configured a SOAP Axis Receiver channel and pinged the endpoint. I am not able to open the connection.

So I think the error is in th modules entered in the configuration

PavanKumar
Active Contributor
0 Kudos

Hello Midhun,

I am not doing an end to end scenario. I just configured a SOAP Axis Receiver channel and pinged the endpoint.


will it mean  you are using an internal PI application IP address?


Make sure to call internal Ips in the urls (sample test cases)so that u won't see any error while pinging the channel for testing cases



If you configured client URL which is out of network make sure that ports are opened at both the ends.



Regards

Pavan

former_member186851
Active Contributor
0 Kudos

Hello.

Also ensure AXIS drivers are deployed.

check the note-1028961.