2

JBoss(4.0.x)には、次の場所org.apache.commons.modeler.*に表示される多くの便利なMBean()があります。 /jmx-console

しかし、これらのBeanがJConsole([MBeans]タブ)にリストされているのがわかりません。

これらの豆は外の世界にさらされていませんか?

4

1 に答える 1

2

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.

于 2012-05-12T11:44:18.997 に答える