You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/15 23:16:00 UTC

[jira] [Commented] (KARAF-6093) Error putting an attachment on a SOAP message via CXF due to javax.xml.soap

    [ https://issues.apache.org/jira/browse/KARAF-6093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16743465#comment-16743465 ] 

ASF GitHub Bot commented on KARAF-6093:
---------------------------------------

brjeter commented on pull request #719: [KARAF-6093]Error putting an attachment on a SOAP message via CXF due to javax.xml.soap
URL: https://github.com/apache/karaf/pull/719
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Error putting an attachment on a SOAP message via CXF due to javax.xml.soap
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-6093
>                 URL: https://issues.apache.org/jira/browse/KARAF-6093
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.2.2
>            Reporter: Brandan Jeter
>            Priority: Major
>
> As of [https://github.com/brjeter/karaf/commit/50ccdc93a1ff1e619f808e13f38fbacbb26213c0#diff-9142d4f795c7f69aa9e8b7bc87e18a59L345,] javax.activation is expected to be exported by a servicemix bundle instead of bundle 0. This is causing a LinkageError because javax.xml.soap uses javax.activation but is still being exported by bundle 0.
> {code:java}
> loader constraint violation: when resolving method "javax.xml.soap.SOAPMessage.createAttachmentPart(Ljavax/activation/DataHandler;)Ljavax/xml/soap/AttachmentPart;" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/apache/cxf/binding/soap/saaj/SAAJInInterceptor, and the class loader (instance of <bootloader>) for the method's defining class, javax/xml/soap/SOAPMessage, have different Class objects for the type javax/activation/DataHandler used in the signature
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)