Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4793

java.lang.LinkageError when deploying KIE Server/jBPM engine on IBM WebSphere

XMLWordPrintable

    • False
    • None
    • False
    • CR1
    • CR2
    • +
    • ---
    • ---

      When deploying KIE Server/jBPM engine on the IBM WebSphere server, the following exception is raised:

      java.lang.LinkageError: loading constraint violation: loader "com/ibm/ws/classloader/CompoundClassLoader@5a6b6b0e" previously initiated loading for a different type with name "javax/xml/namespace/QName" defined by loader "com/ibm/oti/vm/BootstrapClassLoader@ede5ccd"

      This is due to the fact that the "javax/xml/namespace/QName" class is twice on the classpath and causing a clash for the classloader. The root cause is that the dependency wsdl4j:wsdl4j:jar:1.6.3.redhat-00004 contains this class and it is the only class from the "javax.xml.namespace" package in this dependency even though this package contains also the "NamespaceContext" interface too. Therefore, the inclusion of this class is probably a mistake. Moreover, this didn't happen on RHPAM 7.13.4 because that depends on the wsdl4j:wsdl4j:jar:1.6.3.redhat-2 artifact, which doesn't contain the QName class or any other class from this package.

              rguimara Roberto Oliveira
              mmacik@redhat.com Marian Macik
              Samuel Kulíšek Samuel Kulíšek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: