1.0

Table Of Contents
Default ValueCommentsArgument
true
If true, create an MX4J Naming MBean to
serve as the RMI registry, and register the
rmi-registry-enabled
RMIConnector under the JNDI path
/jmxconnector. More information is also
available in the
com.gemstone.gemfire.admin.jmx.Agent
Javadocs.
0
Port to use for the RMIConnectorServer. If
set to 0 (zero) the server socket uses a
rmi-server-port
dynamically allocated port. You might want
to specify the port to use when the JMX agent
is behind the rewall, for example. Valid
values are in the range 0..65535.
Example
Using the default settings, the SQLFire JMX Agent creates an RMI connector listening on available addresses
at port 1099. JMX clients can connect to the process by specifying the JMX URL:
service:jmx:rmi://address/jndi/rmi://address:1099/jmxconnector
For example, to access the SQLFire Agent using jconsole from the same machine on which the agent is running,
you would specify localhost as the address:
jconsole service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmxconnector
Related Topics
Starting the JMX Agent on page 282
MX4J/Http Adaptor Properties
The SQLFire JMX agent provides an HTML interface that is based on the MX4J HttpAdaptor. The HttpAdaptor
provides a functional and easy-to-use interface with no development required, and is particularly useful to
developers who want to explore and browse SQLFire JMX MBeans.
For more details about this interface, consult the online documentation on the MX4J website:
http://mx4j.sourceforge.net/docs/index.html MX4J Guide
http://mx4j.sourceforge.net/docs/ch05.html MX4J HttpAdaptor documentation
Access the HttpAdapter through your browser using the URL http://HttpAdaptor_host:port. The
default port is 8080.
The following properties congure the SQLFire Agent HttpAdaptor. You can specify the properties either in
the Agent properties le or as a list of prop=value pairs on the agent command line.
Default ValueCommentsArgument
true
To enable the HTTPAdaptor, this must be
true.
http-enabled
null
Machine name or IP address to which the
HTTP listening socket should be bound. If
http-bind-address
this value is "localhost", then the socket is
bound to the loopback address (127.0.0.1)
and the adapter is only accessible via the
URL http://localhost:8080. If null, all network
addresses are used.
287
Using Java Management Extensions (JMX)