We have recently migrated from Jboss 5.0 to Jboss6.1 EAP.
As part of performance monitoring,I want to connect Jconsole to the jboss process. Whenever I try to run jconsole from the standalone server ,it doesnt detect the locally running Jboss process.
Upon some investigation I found that it happens only when I run Jboss as a service. If I run it from the command prompt Jconsole is able to detect Jboss process.
I tried to google and found someone saying that I need to add below to expose Mbeans that are required by Jconsole.
<system-properties>
<property name="org.apache.tomcat.util.ENABLE_MODELER" value="true"/>
</system-properties>
I have added above to standlaone.xml and run jboss as service but jconsole still doesnt detect jboss... Anyone has any clue?