0 Replies Latest reply on Jun 13, 2013 2:56 AM by Tarun ..

    Infinispan Monitoring - CacheManager problem !!

    Tarun .. Newbie

      Hi

       

      I am trying to monitor Infinispan node which is running on Jetty AS., which is further running on windows PC. I have enabled the JMX port settings so that I can read the data on Jopr.

      But for some reason I can see the JMX servers and i can see the infinispan embedded cache but it Does not show the Mbeans under the JMX server [ Please refer the attached] screenshot ] . On checking the Infinispan node via Jconsole , everythign seems to be running fine and I can see the Mbeans...

       

      This means there is something wrong on the Infinispan configuration side ? , as Jopr is able to see the JMX server at a particular port. Also I have installed Infinispan-rhq plugin on the Infinispan node and restarted the agent.

      Or is there some issue on RHQ server side ?

       

      I have added following configuration on rhq-agent.bat file which is running on infinispan node. Do  i need to make this below change on Server agent config file as well ?

       

      -Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

       

      and Infinispan has following config...

       

      <infinispan

            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

            xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"

            xmlns="urn:infinispan:config:5.1">

       

                <global>

                          <globalJmxStatistics enabled="true" jmxDomain="org.infinispan" allowDuplicateDomains="true" cacheManagerName="gMESCacheManager" />

                </global>               

       

       

         <namedCache name="xml-configured-cache">

            <eviction strategy="LIRS" maxEntries="10" />

            <jmxStatistics enabled="true" />

         </namedCache>

       

      </infinispan>

       

      RHQ server is : Ubuntu

      Infinispan + RHQ agent is : Windows.

       

       

       

      Thanks in advance for any help !!

       

      Best,

      Tarun