Hi all,
I want to monitor Hibernate-Search over JMX as described in
Reference Guide, Chapter 8. Monitoring but the only values I get for all attributes
SearchQuery* and
ObjectLoading* are 0. What am I doing wrong?
My application runs on JBoss EAP 6.4 (having JBoss AS 7.0 under the hood afaik) on top of jdk1.8.0_121-sun. I configured
<property name="hibernate.search.generate_statistics" value="true"/> and
<property name="hibernate.search.jmx_enabled" value="true"/>. Then I successfully connected to the JMX service remotely using the JConsole shipped with Wildfly 10 (see
here why), and eventually both beans,
IndexControlMBean and
StatisticsInfoMBean appear in the MBeans tree. Some of their non-volatile attributes hold resonable values (e.g.
StatisticsInfoMBean.IndexedClassNames or
IndexControlMBean.BatchSize) but the attributes of my primary interest remain dark&quite ;-)
Thanks a lot for helping!
Merry christmas,
Willy