-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate-Search Statistics over JMX are always 0
PostPosted: Fri Dec 22, 2017 11:01 am 
Newbie

Joined: Fri Dec 22, 2017 10:10 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.