I have seen the other linkage errors but none of them says what can be done with the jars. When I deploy my application in Jboss it works fine, but when I deploy my application to websphere I am having this linkage errors. A similar issue can be found here: LinkageError when calling webservice method but not sure what to do to fix it
Mainly it loaded from com/ibm/oti/vm/BootstrapClassLoader
and com/ibm/ws/classloader/CompoundClassLoader
with the shared class javax/xml/soap/SOAPFault
Caused by: java.lang.LinkageError: loading constraint violation: loader "com/ibm/oti/vm/BootstrapClassLoader@dda62209" previously initiated loading for a different type with name "javax/xml/soap/SOAPFault" defined by loader "com/ibm/ws/classloader/CompoundClassLoader@fdebcda2"
at com.ibm.oti.vm.VM.findClassOrNull(Native Method)
at com.ibm.oti.vm.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:63)
at javax.xml.ws.soap.SOAPFaultException.<init>(SOAPFaultException.java:78)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:160)
at com.sun.proxy.$Proxy118.collectionsInquiryV2(Unknown Source)
What I have is jsp calling a webservice. From the message the only jars I saw is from axis.jar with contains the class javax/xml/soap/SOAPFault
does it mean I need to remove the SOAPFault.class from axis.jar? (it does not work tried and other webservice would fail if this was removed)