Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1712

ObjectFactory cache doesn't take classloaders into accout

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.6, 2.1.1, 2.0.7
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: JAXB Databinding
    • Labels:
      None

      Description


      The ObjectFactory cache in the JAXBDataBinding doesn't take the classloader into account, it only uses the full classname. If two services use the same classes, but are in different classloaders, creating the JAXB context fails as the object factory is in a different classloader than the beans.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              dkulp Daniel Kulp
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: