1 Reply Latest reply on Feb 12, 2003 10:47 PM by Adrian Brock

    Class does not expose a management interface

    Rajiv Newbie

      I am getting this error "Class does not expose a management interface"

      The Mbean I have written extends "org.jboss.system.ServiceMBeanSupport" and implements "org.jboss.system.ServiceMBean"

      The entry in the jboss-service.xml looks like

      This xml file is in "server\defualt\conf"
      am i missing something ?
      any help would be greatly appreciated!!!

        • 1. Re: Class does not expose a management interface
          Adrian Brock Master


          public class MyStartUp
          extends ServiceMBeanSupport
          implements MyStartUpMBean

          then create an interface

          public interface MyStartUpMBean extends ServiceMBean

          you will want to add your own management methods to
          this interface beyond what ServiceMBean defines

          You don't need the codebase, server/default/lib/* is
          already deployed by jboss-service.xml