[jboss-jira] [JBoss JIRA] (WFCORE-3461) jboss.as:management-root=server MBean might be filtered on queryName/queryMBean methods

Lucas Ponce (JIRA) issues at jboss.org
Fri Dec 15 08:07:00 EST 2017


Lucas Ponce created WFCORE-3461:
-----------------------------------

             Summary: jboss.as:management-root=server MBean might be filtered on queryName/queryMBean methods
                 Key: WFCORE-3461
                 URL: https://issues.jboss.org/browse/WFCORE-3461
             Project: WildFly Core
          Issue Type: Bug
    Affects Versions: 3.0.8.Final
            Reporter: Lucas Ponce


A queryName/queryMBean using jboss.as:management-root=server as ObjectName might be filtered

https://github.com/wildfly/wildfly-core/blob/3.0.8.Final/jmx/src/main/java/org/jboss/as/jmx/model/ModelControllerMBeanHelper.java#L145

So, this cause that this MBean is not found when it is visible using a full scan.

This has a negative impact on monitoring systems than relay on queryName/queryMBean methods to find specific MBean to monitor.

jboss.as:management-root=server is an important MBean in this context to provider general status of the server.

This issue can be reproduced using the examples:
https://github.com/jmazzitelli/test/tree/master/javaagent




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list