Enabling JMX Monitoring
- Procedure
- Select
true for the
Enable JMX Monitorproperty in the Configurator ().If you set the value to false, the MBeans are not registered after starting the server.
You can control the JMX support depending on the value set for the
Enable JMX Monitorproperty.If all the MBeans are already registered and theEnable JMX Monitorproperty is set to false, all the MBeans are unregistered except for the MBeans that are hot deployable.If the JMX is already disabled, you cannot perform any operations. You can use the hot deployment MBean to enable other MBeans. - Specify true for the Enable statistics collection by MBean property in the Configurator ().
By default, the value is set to false, that is, the statistics are not retrieved in Java JConsole after starting the server.
Enabling Statistics Collection