You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2011/06/22 12:14:47 UTC

[jira] [Resolved] (SMX4-867) the endorsed xml-api jar can't correctly load org.apache.xpath.jaxp.XPathFactoryImpl class

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

Freeman Fang resolved SMX4-867.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.4.0

commit fix
http://svn.apache.org/viewvc?rev=1138321&view=rev
http://svn.apache.org/viewvc?rev=1138325&view=rev

> the endorsed xml-api jar can't correctly load org.apache.xpath.jaxp.XPathFactoryImpl class
> ------------------------------------------------------------------------------------------
>
>                 Key: SMX4-867
>                 URL: https://issues.apache.org/jira/browse/SMX4-867
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 4.4.0
>
>
> we introduce xerces-impl and xml-api jar to resolve some concurrent problem, however the xml-api.jar have classloader issue when used as endorsed to startup osgi container.
> So if a customer bundle need init an XPathFactory instance, need explicitly add Import-Package org.apache.xpath.jaxp, which is annoying.
> We need hack xml-api to add a fallback classloading way to resolve it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira