Using jconsole with Websphere

The jconsole tool is a JMX-compliant graphical tool for monitoring a Java virtual machine. It can monitor both local and remote JVMs. You can read more about it here…

It has been introduced with Java 1.5 and can also be used with the Websphere Appserver. Sander Hautvast has proposed a configuration based on a Service integration Bus.

Below, I shall outline a simpler way that also works:
1. Create a file named /my/path/ with the following contents:

2. Next, you need to edit the Generic JVM arguments of your server (via the administrative console: Application servers > server1 > Process definition > Java Virtual Machine) :

3. Start jconsole from your WAS_HOME/java/bin directory and login with localhost:9999, as defined in your file (Note: not recommended for production use, since security is disabled for that port).

4. You’re done. Have a look at the threads, the memory consumption, the mbeans etc.

, , ,

Comments are closed.