[jboss-jira] [JBoss JIRA] Commented: (JBAS-6185) JBoss MBeans in JConsole no longer works
V R (JIRA)
jira-events at lists.jboss.org
Thu Feb 17 11:30:14 EST 2011
[ https://issues.jboss.org/browse/JBAS-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583047#comment-12583047 ]
V R commented on JBAS-6185:
---------------------------
These modification to JAVA_OPTS would break run.sh script on Linux.
Namely, the block that checks if java is 64-bit is executing "java $JAVA_OPTS -version | grep -i 64-bit"
Adding -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl would cause "ClassNotFound" exception because the class is in 'run.jar' which is not loaded at that command.
As result "java.library.path" would point to wrong location.
The fix is to remove $JAVA_OPTS from that checking command and specifically check for "-d32" or "-d64" .
--vr
> JBoss MBeans in JConsole no longer works
> -----------------------------------------
>
> Key: JBAS-6185
> URL: https://issues.jboss.org/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
> Labels: EmbJopr1_3
> Fix For: 6.0.0.M1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list