Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB387DCA4 for ; Tue, 18 Sep 2012 02:16:07 +0000 (UTC) Received: (qmail 64357 invoked by uid 500); 18 Sep 2012 02:16:07 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 64298 invoked by uid 500); 18 Sep 2012 02:16:07 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 64218 invoked by uid 99); 18 Sep 2012 02:16:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 02:16:07 +0000 Date: Tue, 18 Sep 2012 13:16:07 +1100 (NCT) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: <402170816.90785.1347934567759.JavaMail.jiratomcat@arcas> In-Reply-To: <1821827641.90780.1347934448222.JavaMail.jiratomcat@arcas> Subject: [jira] [Work started] (KARAF-1840) should also endorse saaj-api MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on KARAF-1840 started by Freeman Fang. > 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 > > 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 ) previously initiated loading for a different type with name "javax/xml/soap/SOAPFault" > at javax.xml.ws.soap.SOAPFaultException.(SOAPFaultException.java:28) > We should also endorse saaj-api jar and in jre.properties let system bundle 0 export javax.xml.soap;version="1.3". -- 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