Este conteúdo não está disponível no idioma selecionado.
7.3. Enabling JMX with Red Hat JBoss Data Grid
By default JMX is enabled locally on each JBoss Data Grid server, and no further configuration is necessary to connect via JConsole, VisualVM, or other JMX clients that are launched from the same system.
To enable remote connections it is necessary to define a port for the JMX remote agent to listen on. When using OpenJDK this behavior is defined with the
com.sun.management.jmxremote.port
parameter. In addition, it is recommended to secure the remote connection when this is used in a production environment.
Example 7.1. Enable JMX for Remote Connections using the OpenJDK
This example assumes that a SSL keystore, entitled
keystore
has already been created, and will configure a standalone instance to accept incoming connections on port 3333 while using the created keystore.
As JMX behavior is configured through JVM arguments, refer to the JDK vendor's documentation for a full list of parameters and configuration examples.