Introscope WebSphere agent does not connect to the Enterprise Manager

Document ID : KB000102674
Last Modified Date : 19/06/2018
Show Technical Document Details
The agent will load and create logs but it will not be able to connect to the Enterprise Manager.
You will see this error:

                         [ERROR] [IntroscopeAgent.Agent] An error occurred while trying to connect to the Introscope Enterprise Manager

If VERBOSE or DEBUG logging is configured, you will get this specific error:

                        [VERBOSE] [IntroscopeAgent.Agent] java.lang.NoSuchMethodError: com/wily/introscope/agent/enterprise/EnterpriseAgent.access$300
10.3 agent monitoring WebSphere 8.5 Java 1.7
This can be specifically relevant where some WebSphere instances only selected WebSphere instances are monitored on the same machine
Add this JVM parameter to the WebSphere startup:

Additional Information:
IBM documentation on class sharing