To enable local access to JMX, where JConsole running on the same host can access MBeans but JConsole running on other hosts cannot, add the following option to the JVM startup:
-Dcom.sun.management.jmxremote |
You must decide whether to use this option on production servers based on your security requirements and the need to access the MBean data without restarting the server.