How to connect JBoss Data Grid using JCONSOLE ?

Solution Verified - Updated

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 JCONSOLE and How to connect remote or local JDG instance via JCONSOLE ?

Resolution

For JDG 7 :

  • Create a Management user using JDG_HOME/bin/add-user.sh.
  • Start JConsole using JDG_HOME/bin/jconsole.sh.
  • Select the Remote Process option.
  • Enter the url for the remote process. The url should 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). Port 9990 correlates to the management-http socket-binding port.
  • Input the Management username and password previously 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.

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.