try {
// StandardMBean is required because interface and class are in different packages
final StandardMBean mbean = new StandardMBean(this, AMXStartupServiceMBean.class);
mMBeanServer.registerMBean(mbean, OBJECT_NAME);
mMBeanTracker = new MBeanTracker(AMXGlassfish.DEFAULT.amxJMXDomain());
mMBeanTracker.setEmitMBeanStatus(false);
//final StandardMBean supportMBean = new StandardMBean(mMBeanTracker, MBeanTrackerMBean.class);
mMBeanServer.registerMBean(mMBeanTracker, MBeanTrackerMBean.MBEAN_TRACKER_OBJECT_NAME);