|Managing Pivotal GemFire / GemFire Management and Monitoring|
GemFire programmatically emulates out-of-box Java 1.6 JMX and creates a JMXServiceURL with RMI Registry and RMI Connector ports on all manageable members.
You can configure a specific connection port and address when launching a process that will host the GemFire JMX Manager by specifying values for the jmx-manager-bind-address and jmx-manager-port, which defines the RMI connection port.
The default GemFire JMX Manager RMI port is 1099. You may need to modify this default if 1099 is reserved for other uses.
If for some reason you need to use standard JMX RMI in your deployment for other monitoring purposes, set the GemFire property jmx-manager-port to 0 on any members where you want to use standard JMX RMI.
If you use out-of-the-box JMX RMI instead of starting an embedded GemFire JMX Manager, you should consider setting -Dsun.rmi.dgc.server.gcInterval=Long.MAX_VALUE-1 when starting the JVM for customer applications and client processes. Every GemFire process internally sets this setting before creating and starting the JMX RMI connector in order to prevent full garbage collection from pausing processes.