To let a java procedure be monitored remotely, we must start it with the following jvm arguments.
com.sun.management.jmxremote.port: which port to be listened.
-Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false