1 Reply Latest reply on Apr 24, 2002 10:37 PM by craigday

    How to register my MBean

    ritesh

      Hi,

      I am trying to register a simple TestMBean in JBoss. I copied the jar file containing the Test class and TestMBean interface in lib/ext directory. and added the following in the jboss.jcml



      Note: there is no package declared in the class and interface.

      I also tried putting the jar file in some other directory and extending the classpath in jboss.conf for that directory but no success

      But when I start jboss with catalina I dont see any debug output which shows my MBean getting registered, nor do I see it in the HttpAdaptor when I load http://localhost:8082 !

      Can anyone tell me what am I missing here ?

      Also whats the significance of name attribute in mbean ? is there a documentation anywhere explain this ?

      Thanks.