on 11-10-2011 6:02 AM
Hi,
We are trying to implement the UsernameToken WS-Security in PI 7.11 using the Receiver SOAP Axis Adapter but we are getting the error below:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: 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
We have already asked the Basis Team to deploy the optional components in SOAP Axis, however, the error still persist. Do you have any idea on how we could resolve the issue?
Optional Components
XML Security API
Found: org.apache.xml.security.Init at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/xmlsec-1.4.2.jar
Apache Xalan
Found: org.apache.xalan.Version at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/xalan.jar
Jakarta-Commons Codec
Found: org.apache.commons.codec.Encoder at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/commons-codec-1.4.jar
Jakarta-Commons Net
Found: org.apache.commons.net.SocketFactory at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/commons-net-1.0.0-dev.jar
Jakarta-Commons HttpClient
Found: org.apache.commons.httpclient.HttpClient at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/commons-httpclient-3.0.1.jar
Apache WSS4J
Found: org.apache.ws.security.WSSConfig at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/wss4j-1.5.4.jar
Apache Addressing
Found: org.apache.axis.message.addressing.Constants at /usr/sap/XDC/DVEBMGS00/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/addressing-1.1.1.jar
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/
Thanks,
Jenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm also facing the same issue. I'm using Axis adapter at receiver side. Receriver side communication channel is throwing the error as follows:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: 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
All basis components were installed including optional ones. Please give a solution, if you find out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sapna,
Sorry for the late reply. I wasn't able to make the SOAP Axis working as our Basis team did not have time to look into it. I used the SOAP adapter instead and created the SOAP envelope with WSSE Security standard using the java mapping.
The link provided by Roberto might be useful.
Kind Regards,
Jenny
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.