8 Replies Latest reply on Feb 3, 2012 4:21 AM by Ed Roberts

    JBoss7 SAR issue

    pushpak1981 Novice

      i have deployed an SAR file into JBoss7 and configured in MBean which does not extends ServiceMBean. Its a POJO bean which is configured in jboss-service.xml as MBean. During the server startup the Bean is loaded fine but later throws an Exception.

       

      javax.management.NotCompliantMBeanException: MBean does not implement DynamicMBean, neither follows the Standard MBean conventions

       

      Do i need to extend ServiceMbean for all the MBeans by default ?

      Is there any way i can get POJO loaded at server startup and bind to JNDI ?