I tried to set the bootdelegation and now the contract first web service is
registered. BTW my contract first web service is just a fragment containing
only the details required by that ws. The host bundle has all the cxf
configs. But now I get this error.


Error 500 loader constraint violation: when resolving overridden method
"org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller.getAttachmentAsDataHandler(Ljava/lang/String;)Ljavax/activation/DataHandler;"
the class loader (instance of
org/apache/felix/framework/ModuleImpl$ModuleClassLoaderJava5) of the current
class, org/apache/cxf/jaxb/attachment/JAXBAttachmentUnmarshaller, and its
superclass loader (instance of <bootloader>), have different Class
objects for the type javax/activation/DataHandler used in the
signature</title>
</head>
<body>
HTTP ERROR: 500
<pre>loader constraint violation: when resolving overridden method
"org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller.getAttachmentAsDataHandler(Ljava/lang/String;)Ljavax/activation/DataHandler;"
the class loader (instance of
org/apache/felix/framework/ModuleImpl$ModuleClassLoaderJava5) of the current
class, org/apache/cxf/jaxb/attachment/JAXBAttachmentUnmarshaller, and its
superclass loader (instance of &lt;bootloader&gt;), have different Class
objects for the type javax/activation/DataHandler used in the
signature</pre>
<p>RequestURI=/sampleweb/productservice</p>
Caused by:
<pre>java.lang.LinkageError: loader constraint violation: when resolving
overridden method
"org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller.getAttachmentAsDataHandler(Ljava/lang/String;)Ljavax/activation/DataHandler;"
the class loader (instance of
org/apache/felix/framework/ModuleImpl$ModuleClassLoaderJava5) of the current
class, org/apache/cxf/jaxb/attachment/JAXBAttachmentUnmarshaller, and its
superclass loader (instance of <bootloader>), have different Class objects
for the type javax/activation/DataHandler used in the signature


I have an activation bundle. I think now it sees two activation class - one
from bundle and other from JDK 6. How to solve this?

--
View this message in context: 
http://cxf.547215.n5.nabble.com/DOSGi-wsdl-first-approach-tp3212289p4330032.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to