-
Bug
-
Resolution: Obsolete
-
Minor
-
JBossAS-4.2.3.GA
-
None
-
None
-
Documentation (Ref Guide, User Guide, etc.)
-
Low
When starting JBoss with those option (coming from the FAQ: http://community.jboss.org/wiki/JBossMBeansInJConsole)
- Enable the jconsole agent locally
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote" - Tell JBossAS to use the platform MBean server
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver" - Make the platform MBean server able to work with JBossAS MBeans
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
This is called in MBeanServerFactory
public static MBeanServer createMBeanServer()
It should be "DefaultDomain" instead of null. The Javadoc states (wrongly)
- <p>The standard default domain name is
- <code>DefaultDomain</code>.</p>
The result is a MBeanServer having a null default domain.