camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gisbert Amm <gisbert....@1und1.de>
Subject Re: JMX and JBoss
Date Tue, 30 Sep 2008 13:42:51 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> 2008/9/29 Martin Gilday <martin.lists@imap.cc>:
>> Hi riders,
>>
>> Has anyone had Camel JMX working when deploying into JBoss AS?  When I
>> run Camel through the Jetty Maven plugin I can connect with JConsole and
>> everything looks great.  However when I export the same app as a WAR and
>> deply in JBoss AS 4 I can't see any Camel related MBeans in the built in
>> JMX web console.  Any ideas why it may not be appearing?

My colleagues told me the following; I haven't verified it but it might
be a hint:

JBoss does obviously use it's own JMX server, because it's been built on
Java 1.4. However, it's possible to merge (?) the JBoss JMX server with
the one used by Java 5 or Java 6. Then it should be possible to see the
MBeans of Java (and perhaps of Camel aswell).

All you need is to start JBoss with the following properties:

- -Djboss.platform.mbeanserver
-
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl

Hope this helps.

Regards,
Gisbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI4izbwM6uO7ce7NoRAitPAJ9Br1zbDH9XCq3neqhUQFCgHHxTuwCdEYrK
0Q4+9wF9MVBM5ewAt/H2HM8=
=qmUr
-----END PGP SIGNATURE-----

Mime
View raw message