Skip to Content
0
Former Member
Apr 16, 2008 at 09:41 AM

JAXWS 2.1.3 in heavy loader issue

38 Views

Hi

We are using heavy loader for one of our web services (JAXWS2.1.3Lib), however when casting DataHandler to StreamingDataHandler an error occurs (please see below).

JAXWS2.1.3Lib contains activation.jar, but for some reason the server is using the default sap one. Is there any way of making sure the heavy loader library takes precedence?

java.lang.ClassCastException: class javax.activation.DataHandler:library:mail-activation-iaik+at+com.sap.engine.boot.loader.ResourceMultiParentClassLoader28825459+at+alive incompatible with class com.sun.xml.ws.developer.StreamingDataHandler:sap.com/JAXWS2.1.3Lib+at+com.sap.engine.boot.loader.ResourceMultiParentClassLoader+at+6231eaa6+at+alive

      at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)

      at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:116)

I have had to replace the @ symbol with at (just fyi)

Regards,

Andrew