JBoss 4.0.X GA Java 6 SE and JConsole connect problem

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.

Comments:

Ich hatte das gleiche Problem und eine Suche ergab schnell den Grund. Die Lösung habe ich unter http://javainsel.blogspot.com/2007/02/jboss-jmx-und-jconsole.html dokumentiert.

Posted by Christian Ullenboom on February 08, 2007 at 07:22 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License