Managing JBoss

From JMXplorer

Jump to: navigation, search

Contents

Setup JBoss for monitoring

Instructions to manage remotely Jboss are in Jboss wiki : http://wiki.jboss.org/wiki/JBossMBeansInJConsole

On windows, you have to add

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

to <jboss>/bin/run.bat

Monitor Jboss using JMXplorer

Add a new Mbean server

Open the "MBean servers Explorer" view (Window->Show View->Other->JMXplorer/MBean servers Explorer), right click on the view and add a new MBean server :

Add a connection to a local mbean server

If JBoss is on the local machine, select it in "Local process" :

image:JBoss_add_mbeanserver.png

Add a connection to a remote mbean server

Personal tools
download
development
communication