Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3461

jboss.as:management-root=server MBean might be filtered on queryName/queryMBean methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha5
    • 3.0.8.Final
    • JMX
    • None

      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 provide general status of the server.

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

            kkhan1@redhat.com Kabir Khan
            lponce@redhat.com Lucas Ponce
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: