Crowd ships with a javax.xml.namespace.QName class

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.5
    • Affects Version/s: 2.1
    • Component/s: None
    • None

      The issue is much like CONF-15163

      From JDK 1.5 this class is inluded in the JDK, so there is no need to ship that class anymore with Crowd. The real problem here is that you can configure certain app servers like WebLogic to prefer loading classes from the web application, which is a good thing, but leads to the app server loading other classes in the javax.xml.namespace package using the app server class loader and only the QName class using the web app class loader. This gives you a LinkageError because the app server class loader doesn't allow classes for that package to be loaded from a different class loader.

      The problems are in the files

      • stax-api-1.0.1.jar
      • xml-apis-1.3.03.jar
      • xbean-2.2.0.jar

      For there libraries are new versions available without the javax.xml.* packages.

      I ran into this problem because I wanted to connect to a SOAP webservice (via wsdl2java) in my Crowd Plugin I'm developing.

            Assignee:
            Unassigned
            Reporter:
            Stefan Kohler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: