Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

See http://java.sun.com/j2se/1.5.0/docs/guide/management/faq.html for common problems and solutions when configuring remote management. In particular,

  • If the server has a firewall, you will need to open access to port 1099 and possibly also port 2737.
  • If the server's /etc/hosts file is not configured to return the correct IP address for the server's hostname (as revealed by hostname -i), you may need to correct this.

Jconsole

To activate Jconsole {$JAVA_HOME}/bin/jonsolejconsole

Jconsole Walkthru

Login either through a process or via remote localhost port 1099

...