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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: