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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              ffang Freeman Fang
              Reporter:
              ffang Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: