Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2111

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.5
    • 2.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            752e3c267576 Stefan Kohler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: