-
1. Re: Monitoring Infinispan hotrod with JConsole or VisualVM
dan.berindei Dec 14, 2011 6:17 AM (in response to codevally)You mean you need a command-line JMX client to use instead of jconsole?
I've never tried it, but I know there's http://crawler.archive.org/cmdline-jmxclient/
-
2. Re: Monitoring Infinispan hotrod with JConsole or VisualVM
galder.zamarreno Dec 14, 2011 6:35 AM (in response to codevally)You seem to have enabled the right configuration options. You just need to check the right MBeans in JConsole or JVisualVM (remember that JVisualVM does not have the MBean plugin installed by default, so you need to install it from the GUI). Information on the MBeans to look out for can be found in https://docs.jboss.org/author/display/ISPN/Management+Tooling and the information exposed is documented in http://docs.jboss.org/infinispan/5.1/apidocs/jmxComponents.html
-
3. Re: Monitoring Infinispan hotrod with JConsole or VisualVM
codevally Dec 14, 2011 4:05 PM (in response to galder.zamarreno)Thanks Galder.
But when I try to conenct using JConsole, it ask remote jMX port. In my case how to identify/configure remote port use by infinispan? Because when I start the hotrod, I am not issuing any port number for jmx and only allow global jmx in infinispan config.
Any ideas??
-
4. Re: Monitoring Infinispan hotrod with JConsole or VisualVM
dan.berindei Dec 15, 2011 4:51 AM (in response to codevally)If you're on the same machine you don't need a port, you can select any running java process.
If you're connecting from a different machine then you need to specify the port with the
com.sun.management.jmxremote.port
system property. You'll also need to set up authentication, here's the full list of JMX system properties: http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html#properties -
5. Re: Monitoring Infinispan hotrod with JConsole or VisualVM
codevally Dec 15, 2011 7:00 PM (in response to dan.berindei)Many thanks for the valuble tipe.