Mar 27, 2018

Java Application Servers JMX MBeans monitoring

Java Application Servers have JMX MBeans available to use for monitoring purposes. 

These can be accessed with a tool like VisualVM with the "MBeans" plugin installed.


Monitoring of MBeans can be used to keep track of things like database connection pool usage or HTTP thread pools when looking for bottlenecks or other issues like high connection churn (connections being destroyed and recreated too often).
JMX can be used to monitor lots of other things relating to server health, too, like CPU usage, threads, and garbage collection activity.