Details

    Description

      When bridging the jboss MBeanServer and the jdk platform MBeanServer using the javax.management.builder.initial and jboss.platform.mbeanserver settings:

      JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
      JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"

      the following error can be seen tyring to display the mbeans on the jmx-console:

      13:41:31,812 ERROR [[HtmlAdaptor]] Servlet.service() for servlet HtmlAdaptor threw exception
      javax.management.InstanceNotFoundException: com.sun.management:type=HotSpotDiagnostic is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
      at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:666)
      at org.jboss.system.server.jmx.LazyMBeanServer.getMBeanInfo(LazyMBeanServer.java:308)
      at org.jboss.jmx.adaptor.control.Server.getDomainData(Server.java:78)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.displayMBeans(HtmlAdaptorServlet.java:181)

      The problem is that the selection of the correct MBeanServer is not considering all of the possible domains. Currently only domains prefixed with "java" are considered to belong to the platform MBeanServer.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: