I am trying to deploy a MBean to the default MBean Server running in geronimo.
I have got handle to MBeanServer in GBean
ArrayList list = MBeanServerFactory.findMBeanServer(null);
When i try to register a MBean it says ClassNotFound Exception.
I tried adding MBean class to /geronimo/lib and also as dependency in MyGBean plan.
but still i get ClassNotFound.
I would be glad for any help in fixing this.