Friday, 18 January 2013

JMX URL for GemFire 7

In order to connect to the MBean server within a GemFire 7 Distributed System you would need to use a JMX service URL as follows.

Format:

service:jmx:rmi://{hotname}/jndi/rmi://{hostname}:1099/jmxrmi

Example:

service:jmx:rmi://Pas-Apicellas-MacBook-Pro.local/jndi/rmi://Pas-Apicellas-MacBook-Pro.local:1099/jmxrmi

Another way is to use GFSH and start jconsole issuing the command "start jconsole" as shown below. This will automatically connect for you providing you have the ability to display jconsole graphically.

  
gfsh>start jconsole
Running JDK JConsole


No comments: