You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/04/24 03:14:13 UTC

[jira] [Created] (SM-2196) need also endorse activation-api spec jar

Freeman Fang created SM-2196:
--------------------------------

             Summary: need also endorse activation-api spec jar
                 Key: SM-2196
                 URL: https://issues.apache.org/jira/browse/SM-2196
             Project: ServiceMix
          Issue Type: Improvement
            Reporter: Freeman Fang


to avoid the error like
Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addSwaRefAttachment(Ljavax/activation/DataHandlerLjava/lang/String;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/apache/cxf/jaxb/attachment/JAXBAttachmentMarshaller, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/activation/DataHandler used in the signature
>         at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller

as javax/activation/DataHandler need be loaded from bootloader anyway, so we shouldn't load it as a bundle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira