Throw standard java exceptions vs. custom exceptions in custom jmx mbeans. If custom exceptions are thrown and they were not included on classpath when starting jconsole, a classNotFoundException will be thrown and the exception message will not be displayed. Java 6 Enhancements HOWTO Object naming MBean interface names must end with MBean, and the MBean class for the FooMBean interface must be called Foo. (You can lift this restriction by using a more advanced JMX feature, dynamic MBeans.) public interface FooMBean public class Foo Create and register MBean instance: Foo foo = new Foo(...); MBeanServer server = ManagementFactory.getPlatformMBeanServer(); Alternatively for JBoss: MBeanServer server = MBeanServerLocator.locateJBoss(); server.registerMBean((FooMBean)foo, new ObjectName("myapp:type=foo,name=uniqueString")); Alternatively: server.registerMBean(foo, new ObjectName("topLevelNodeName:subNodeName=foo,subNode2Name=bar,mbeanName=uniqueNodeNameString")); In J...