Thursday, May 08, 2008

Jconsole with jboss

Jconsole comes with sun jdk 5 and above. It offers a lot of possibilities to manage the virtual machine of your java applications. To use it with jboss you can add the "-Dcom.sun.management.jmxremote" option to the run.conf (or run.bat in windows). Then you just run jconsole ($JAVA_HOME/bin).
You can monitor the memory use and call the garbage collector manually among other things.

0 Comments:

Post a Comment

<< Home