5 Replies Latest reply on Dec 21, 2009 4:38 PM by Ales Justin

    JMX annotations and parsing question

    Jean Deruelle Newbie

      Hi guys,


      I'm trying to expose some properties of the Sip Stack used by Mobicents on top of JBoss AS 5.1.0.GA. Unfortunately the Stack is not a bean and not injected or anything, so I just added the following annotation to my implementation class


      @JMX(name="org.mobicents.jain.sip:type=sip-stack,name=mobicents-jain-sip",exposedInterface=SipStackImplMBean.class, registerDirectly=true)

      public class SipStackImpl extends ClusteredSipStackImpl implements SipStackImplMBean {




      The jar which contains this is located in server/<profile>/deploy/jboss-web.sar

      Upon startup I couldn't see my MBean registered in the jmx-console

      Should it be recognized automatically and registered with the AS MBean Server or shall I need to tweak something else ?


      Thanks in advance


      Jean Deruelle