Archive

Posts Tagged ‘jconsole’

Delving deeper into Jconsole and VisualVm

June 27th, 2011 1 comment

Jconsole and visual VM help monitor java applications in any environment. Here are a few additional details that can help you monitor your java applications better

Jconsole and permissions:

Jconsole lists the PIDs of local java applications when you start it. But what if there are java applications that are running under a different user ? Jconsole will not display those java PIDs that do not belong to the user who started Jconsole. The JConsole FAQ lists a few troubleshooting tips to get around this problem. You can alternatively expose the Jconsole connection through a remote port using the -Dcom.sun.management.jmxremote.port property. Securing the remote JMX URL with a username and password should do the trick.

Viewing Jconsole / JMC Beans with VisualVm:

Categories: java Tags: , ,