5 Replies Latest reply on Dec 15, 2011 7:00 PM by Roshan Pradeep

    Monitoring Infinispan hotrod with JConsole or VisualVM

    Roshan Pradeep Newbie



      I want to monitor my infinispan hotrod instance running on a linux box. I already enable the global JMX statistics but want to know how to view those stats from a console.


      My infinispan config looks like:


      <?xml version="1.0" encoding="UTF-8"?>



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




            <transport clusterName="Whispir-hotrod" distributedSyncTimeout="50000">


                   <property name="configurationFile" value="/app/hotrod-config/tcpAPP9.xml"/>



          <globalJmxStatistics enabled="true"/>



         <!-- First named cache -->   

         <namedCache name="our-cache">

           <locking useLockStriping="false" isolationLevel="READ_COMMITTED" concurrencyLevel="64" writeSkewCheck="false" />

               <clustering mode="r">

                   <stateRetrieval fetchInMemoryState="true"/>


            <jmxStatistics enabled="true"/>   




      I am starting my hotrod instance like this:

      sh ./startServer.sh -r hotrod -c /app/hotrod-config/configAPP9.xml -l app9.dev1.whispir.net -p 7900 -Dlog4j.configuration=/app/infinispan-5.0.1.FINAL/etc/log4j.xml &


      Could some one please help me on this. Thanks.