Cause:
Breaking down the LinkageError detail message:
java.lang.LinkageError:
loading constraint violation when overriding method "com/singularity/ee/agent/appagent/services/bciengine/templates/IAxisOperation.getName()Ljavax/xml/namespace/QName;"
during creation of class "org/apache/axis2/description/AxisOperation":
loader "com/ibm/ws/classloader/CompoundClassLoader@3f02e529" of class "org/apache/axis2/description/AxisOperation" and
loader "sun/misc/Launcher$ExtClassLoader@daf5eb6f" of class "com/singularity/ee/agent/appagent/services/bciengine/templates/IAxisOperation"
have different types for the method signature.
The 2 classes do not agree on the method signature for com/singularity/ee/agent/appagent/services/bciengine/templates/IAxisOperation.getName()Ljavax/xml/namespace/QName;
The 2 classes might have loaded the return type javax/xml/namespace/QName from different places.
com/ibm/ws/classloader/CompoundClassLoader@3f02e529 is an application classloader that loads classes packaged with the ear/war/shared library.
and sun/misc/Launcher$ExtClassLoader@daf5eb6f is a java classloader that loads classes under <JAVA_HOME>/jre/lib/ext and directory specified by the system property java.ext.dirs.
It's possible the class javax/xml/namespace/QName might be present in axis2 jar(packaged with your application) AND also in the AppDynamics javaagent jar placed under <JAVA_HOME>/jre/lib/ext.
Solution:
Try disabling/removing appdynamics javaagent. Based on our past experience with other clients reporting similar isue, Appdynamics/javaagent seems to be adding duplicate copies of classes and causing the java.lang.LinkageError. If you do require the appdynamics javaagent/classes, please contact appdynamics support.
------------------------------
GEETA NADELLA
------------------------------