Hi Gisbert, I was just in the process of updating the Camel wiki when I saw your email come in. I'd just managed to figure out that exact same solution! I've tried it out and it works great.
Thanks, Martin. ----- Original message ----- From: "Gisbert Amm" <[EMAIL PROTECTED]> To: [email protected] Date: Tue, 30 Sep 2008 15:42:51 +0200 Subject: Re: JMX and JBoss -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 2008/9/29 Martin Gilday <[EMAIL PROTECTED]>: >> 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-----
