Enable JMX at the Cache Manager level
Enabling JMX Statistics JMX reporting can be enabled at 2 different levels: Â 1. CacheManager level: The CacheManager is the entity that governs all the cache instances that have been created from it. Details on the information exposed at the CacheManager level can be found below. For the moment, let's just focus on how to enable the CacheManager to report management data via JMX. Â If configuring the CacheManager via XML, make sure you add the following XML under the element: If configuring the CacheManager programmatically, simply add the following code: GlobalConfiguration globalConfiguration = ... globalConfiguration.setExposeGlobalJmxStatistics(true);