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 05:19:17 UTC

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

     [ https://issues.apache.org/jira/browse/SM-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-2196.
------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.0

commit 
http://svn.apache.org/r1471233
NOTES: this also need use change in specs 2.3-SNAPSHOT so also upgrade to spec 2.3-SNAPSHOT
                
> 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
>            Assignee: Freeman Fang
>             Fix For: 5.0.0
>
>
> 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