I think this is probably just something which needs to be documented, since it appears to fundamentally be a JBAS issue (
https://jira.jboss.org/jira/browse/JBAS-5220)
Basically in my testing of accessing JBAS's JVM mbean server through a remote interface if the following are set
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
then all of the JVM's child services, e.g. Class Loading, show red and collect no metrics.
If you leave out
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
then the EAP4.3 instance I was testing wouldn't even start:
Failed to boot JBoss:
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
The workaround would seem, according to
https://jira.jboss.org/jira/browse/JBPAPP-658, to be use EAP4.3 CP01