How to connect JBoss Data Grid using JCONSOLE ?
Environment
- Red Hat JBoss Data Grid(JDG).
- 6.x
- 7.x
Issue
- Unable to connect JDG via
JCONSOLE. - What are the steps to connect JDG via
JCONSOLE? - What is
JCONSOLEand How to connectremoteorlocalJDG instance viaJCONSOLE?
Resolution
JConsoleis aJMXGUI that allows a user to connect to aJVMlocally or remotely to monitor theJVM,MBeansand execute operations. Refer to detailed documentation to This content is not included.connect JDG 6 using JCONSOLE.
For JDG 7 :
- Create a
Managementuser usingJDG_HOME/bin/add-user.sh. - Start
JConsoleusingJDG_HOME/bin/jconsole.sh. - Select the
Remote Processoption. - Enter the
urlfor the remote process. Theurlshould look similar to the following:service:jmx:remote+http://IP:9990. Note that IP correlates to the IP address used by the management interface (defined within the JDG configuration). Port9990correlates to themanagement-http socket-bindingport. - Input the Management
usernameandpasswordpreviously created and connect to the remote JDG process.
Note : If connecting to a local JDG instance (i.e., on the same server as JConsole), the above steps are not necessary. One can just run jconsole.sh and select the JDG process from the Local Process list.
SBR
Product(s)
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.