Enable JMX at the Cache level
Cache level: At this level, you will receive management information generated by individual cache instances. Details on the information exposed at the Cache level are explained below. For the moment, let's just focus on how to enable the Cache to report management data via JMX: Â If configuring the Cache via XML, make sure you add the following XML under the either , if you're configuring the default Cache instance, or under the corresponding : If configuring the Cache programmatically, simply add the following code: Configuration configuration = ... configuration.setExposeJmxStatistics(true);