Pergunta

JBoss(4.0.x) has many useful MBeans (org.apache.commons.modeler.*) that are visible in: /jmx-console

But i cannot see these beans listed in JConsole (MBeans tab).

Are these beans not exposed to outside world?

Foi útil?

Solução

JBoss 4.x has its own internal MBean server, separate from the default JVM one (JBoss AS 4.x pre-dates Java 5 and its MBean server, so needed its own).

I believe that in JBoss AS 5.x you can tell it to use the JVM's MBean server, but I don't think JBoss AS 4.x provides that option.

Are these beans not exposed to outside world?

Yes they are - JBoss AS's internal MBean server is just as exposed as the JVM's one, it's just exposed differently. JConsole talks to the JVM's MBean server, you need different tools to talk to the JBoss AS one.

P.S. JBoss AS 4.0 is eye-poppingly old (2004? 2005?). You really should update it.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top