Java - Remote JConsole Connection
To perform remote JConsole Conenection, do the following
1. Add the following to JAVA_OPTS (I copied from my tsdebug). It will create RMI port at 8004. It will not ask for authentication
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
2. Start JConsole and select remote process with the following connection URL
service:jmx:rmi:///jndi/rmi://hostName:portNum/jmxrmi
3. On successful connection, you will see your server IP at the top of the JConsole bar.
1. Add the following to JAVA_OPTS (I copied from my tsdebug). It will create RMI port at 8004. It will not ask for authentication
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
2. Start JConsole and select remote process with the following connection URL
service:jmx:rmi:///jndi/rmi://hostName:portNum/jmxrmi
3. On successful connection, you will see your server IP at the top of the JConsole bar.
Comments
Post a Comment