The procedure for getting a JMX agent to work for any application server (appserver) that is not found in the documents is this:
- Find out how to expose mbeans on a given appserver. Refer to the relevant appserver documentation on how to do this.
- Find out how to connect to the mbeanserver of that appserver (URL, protocol etc)
- Use jconsole (that comes with any Java Development Kit or JDK) to connect to that URL – and ensure you see the mbeans/data you want to monitor
- Use all these settings to configure a Foglight JMX agent:
- Any appserver configuration to expose mbeans,
- URL format/ports, etc
- Any jars required in class path
Regardless of the appserver, if you want to trace just the jdk’s mbeans you could follow the same steps that you find for Tomcat – it is a generic way of getting mbeans on any JDK server.