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 2020/04/27 21:04: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=17093928#comment-17093928 ] 

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

ponziani commented on pull request #728:
URL: https://github.com/apache/karaf/pull/728#issuecomment-620233222


   Any news on this ? I believe it would fix the issue described at http://karaf.922171.n3.nabble.com/Loader-constraint-violation-javax-xml-soap-SOAPFault-td4056103.html as well.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
>          Components: karaf
>    Affects Versions: 4.2.2
>            Reporter: Brandan Jeter
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.2.3
>
>
> 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
(v8.3.4#803005)