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

    Monitoring Infinispan hotrod with JConsole or VisualVM

    Roshan Pradeep Newbie

      Hi

       

      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"?>

      <infinispan

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

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

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

        

         <global>

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

                <properties>

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

                </properties>

          </transport>

          <globalJmxStatistics enabled="true"/>

         </global>

        

         <!-- First named cache -->   

         <namedCache name="our-cache">

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

               <clustering mode="r">

                   <stateRetrieval fetchInMemoryState="true"/>

            </clustering>

            <jmxStatistics enabled="true"/>   

         </namedCache>

      </infinispan>

       

      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.