0 Replies Latest reply on Jul 22, 2002 6:04 PM by ming luo

    Does MBeanServer interface connect to Jboss server?

    ming luo Newbie


      I have a basic MBean question. If I have an MBeanServer object, is it supposed to talk with Jboss JMX server?

      My code shows it doesn't. When I call getMBeanCount(), it only returns 2. My "agent view" html site shows Jboss has 117 MBeans registered. Also, when I try to registerMBean(), the successfully registered MBean doesn't appear on the html page.

      Am I confused here? The MBeanServer object in my program is not coupled with the Jboss server? How does it work? What's the purpose to have the MBeanServer interface? How can I programmabally interact with Jboss server to un/register Mbeans.