Amitava Shee's Technical Diary

Thursday, May 11, 2006

JBoss 4.04-CR2 integration with JDK1.5 jconsole JMX client

Did you know that you could manage JBoss MBeans from jconsole? Here are the steps

In windows, open %JBOSS_HOME%\bin\run.bat and append the following parameters to JAVA_OPTS environment variable as the following

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
-Djavax.management.builder.initial=
org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote

The arguments added is highlighted in red.

Now fire up jconsole and click on the MBeans tab.

Please see JBoss wiki for further details

0 Comments:

Post a Comment

<< Home