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

Jean-Baptiste Onofré updated KARAF-5682:
----------------------------------------
    Fix Version/s:     (was: 4.1.7)
                   4.1.8

> Internal XML parsing is sensitive to the current thread class loader
> --------------------------------------------------------------------
>
>                 Key: KARAF-5682
>                 URL: https://issues.apache.org/jira/browse/KARAF-5682
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.1.2
>            Reporter: Nicolas Brasey
>            Priority: Major
>             Fix For: 4.1.8
>
>
> The mechanism for XML parsing (feature file, kar feature detector, etc) is 
> sensitive to the thread class loader, which forces the application to switch 
> the thread class loader before calling those services.
> How to reproduce: Call the kar service from a REST endpoint.
>  
> I created this Jira after a discussion on the mailing list with Guillaume: 
> {quote}You're right, I think the current setup on 4.1 is not optimal and a 
> bit too sensitive to the thread context class loader.
> Can you simply remove the xalan and xerces jars from the lib/endorsed folder 
> and the corresponding export packages in etc/config.properties ?
> If you want to use xalan and xerces, deploy them as bundles instead.
> Also, please raise a JIRA so that we can fix that.
> {quote}



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

Reply via email to