[jboss-jira] [JBoss JIRA] Commented: (JBAS-6185) JBoss MBeans in JConsole no longer works

Scott Marlow (JIRA) jira-events at lists.jboss.org
Mon Jul 13 16:44:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476123#action_12476123 ] 

Scott Marlow commented on JBAS-6185:
------------------------------------

I did not add any tests to the testsuite for this issue.  My steps to test:

1.  Remove current server from jbossas/build/output/*

2.  cd jbossas dev folder

3.  Do a clean build
     ./build.sh clean

4.  Build the as
     ./build.sh

5.  Change into the generated server bin folder
     cd build/output/jboss-6.0.0.Alpha1/bin

6.  Append the following lines to run.conf (as mentioned in the documentation link above)
 JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
 JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
 JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"

7.  Start the as 
    ./run.sh

8.  After server starts, run jconsole (should be in jdk/bin folder)
    jconsole

9.  In the JConsole program, choose the just started as process from the "New Connection/Local Process" dialog and click the "connect" button.  

10.  Click on the MBeans tab, you should see the familar JBoss.* mbeans and the built in ones too (java.lang + com.sun).



> JBoss MBeans in JConsole no longer works 
> -----------------------------------------
>
>                 Key: JBAS-6185
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6185
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMX
>    Affects Versions: JBossAS-5.0.0.CR2
>         Environment: JBossAS-5 CR2, Sun Java 1.5, Windows 2003
>            Reporter: jaikiran pai
>            Assignee: Scott Marlow
>            Priority: Blocker
>             Fix For: JBossAS-5.2.0.Beta1, JBossAS-6.0.0.Alpha1
>
>
> Displaying of JBoss MBeans in JConsole as explained here http://www.jboss.org/community/docs/DOC-10521 , no longer works because of the classpath issue. Maybe related to the refactoring of org\jboss\system\server\jmx\* classes into jboss-system-jmx.jar in JBoss-5.
> More details about this issue can be found in the linked forum thread.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list