Try adding this to the server startup options. Change the port (7011) to whatever you prefer. Then you can use JConsole by specifying the remote server "{host}: {port}"
Note. {host} does not contain the http: // prefix.
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7011 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
In addition, you probably do not want to disable authentication like this in a production environment, but the above parameters should help you in testing. When using this, you do not need to provide a username / password in JConsole.
Kal
source share