On one instrumented WebSphere instances does not start, even after uninstalling the Introscope Agent. Additionally, a different node in the cluster on the same machine does not start, and it is not instrumented.
When the first server is started and then trying to start the second server, the following error message appears, even though it is not configured for Introscope and it throws a "class not found" error in the logs:
SRVE0232E: Internal Server Error.
Exception Message: [com.wily.introscope.agent.trace.IMethodTracer]
or
java.lang.NoClassDefFoundError: com.wily.introscope.agent.AgentShim
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
DX O2 Java Agent
This issue is the result of the IBM Class Sharing feature implemented in the IBM 1.5 JVM or higher JRE's. (Even in 1.4.2 if J9 VM.)
The issue manifests itself in the following ways:
Use the -Xshareclasses option: