This discussion is archived
0 Replies Latest reply: Aug 26, 2011 3:49 AM by 674814 RSS

JConsole, JMX via legacy protocol?

674814 Newbie
Currently Being Moderated
Hi all,

I have a legacy system on my hands with a propriatary protocol on top of tcp. I now need to add JMX support for this application. Due to firewall issues and company policies, I can not get RMI or IIOP ports to target JVM opened, so I would need to use the legacy protocol as JMX transport.

On the server (target) side, I can create a MBeanServer via MBeanServerFactory.createMBeanServer(), and the register my MBeans to it. But how can I use existing tools, e.g. JConsole, to connect to my server via the legacy protocol?

I have already tried to implement my own MBeanServerBuilder, added it to JConsole classpath and set the "+-J-Djavax.management.builder.initial+" -property, but this did not do the trick.

We're still on Java 5.

Please help!

Br, JK

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points