Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-867

the endorsed xml-api jar can't correctly load org.apache.xpath.jaxp.XPathFactoryImpl class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.4.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: