Class conflict issue when integrating/insurumentiing J2EE agent with Jboss on Foglight 5.2.3.5. As a result jboss crashes.
The jboss error log below:
2008-12-02 10:32:10.849 INFO Connected to Nexus at hostname:41705
2008-12-02 10:32:14.427 INFO Agent started
run.sh: unused non-option argument:
2008-12-02 10:32:15.837 ERROR An unexpected error occurred which may cause undesired behavior.
You may want to contact Quest Software customer support if you see this error again: clinitCallback: java.lang.IllegalStateException:
Server ClassLoader already set.
.
.
.
10:32:20,505 ERROR [BasicMBeanRegistry] Cannot register MBean
java.lang.ClassFormatError: Repetitive method name/signature in class file org/jboss/deployment/DeploymentInfo
at java.lang.ClassLoader.defineClass1(Native Method)
.
.
.
Failed to boot JBoss:
The error is caused by passing "PERFORMASURE_OPTIONS, PERFORMASURE_BOOTSTRAP, PERFORMASURE_JAVA5" options more then once in the java process.
Note
=====
If the agent is instrumented via JavaEE Deployment Manager -> Edit Properties
It will add the options like "${PERFORMASURE_BOOTSTRAP:-"-Dquest.env.bootstrap_opt=unused"}"
and then , for some reason, if it is instrumentation is done again via startup script
It will throw the error
Avoid passing "PERFORMASURE_OPTIONS, PERFORMASURE_BOOTSTRAP, PERFORMASURE_JAVA5" options more then once in the java process by removing duplicate entries
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy