karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1840) should also endorse saaj-api
Date Tue, 18 Sep 2012 02:35:07 GMT

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

Freeman Fang resolved KARAF-1840.

       Resolution: Fixed
    Fix Version/s: 3.0.0

commit fix
http://svn.apache.org/viewvc?rev=1386968&view=rev for trunk
http://svn.apache.org/viewvc?rev=1386971&view=rev for 2.3.x branch
> should also endorse saaj-api
> ----------------------------
>                 Key: KARAF-1840
>                 URL: https://issues.apache.org/jira/browse/KARAF-1840
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.3.0, 3.0.0
> currently karaf endorse jaxws api jar, which need use javax.xml.soap package, this package
could be from jdk or from saaj-api bundle jar. However, as we endorse jaxws api, so jaxws
class javax.xml.ws.soap.SOAPFaultException will always load
> javax.xml.soap.SOAPFault from boot classloader, so that if customer bundle import-package
javax.xml.soap from saaj-api bundle, then customer easily run into exception like
> Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>)
previously initiated loading for a different type with name "javax/xml/soap/SOAPFault"
> at javax.xml.ws.soap.SOAPFaultException.<init>(SOAPFaultException.java:28)
> We should also endorse saaj-api jar and in jre.properties let system bundle 0 export

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

View raw message