If you start JBoss with Java SE 6 and try to connect to JBoss with JConsole you will get an internal JBoss error (ClassNotFoundException), the connect process will be also interrupted. In case you initialize the MBeanServer manually inside the EJBContainer (with EJB's @PostConstruct or in an interceptor) with e.g.: ManagementFactory.getPlatformMBeanServer() and then connect with JConsole - everything works well. In this case the registered MBean will appear in the JConsole, but not in the jmx-console (e.g. http://localhost:8080/jmx-console).
However, the JBoss proprietary way with the @org.jboss.annotation.ejb.Service, @org.jboss.annotation.ejb.Management annotations works well without any problems.
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.