applicability of -Dcom.sun.management.jmxremote for JMX1.2.1 + JDK1.4

In Mustang/Tiger, i can specify -Dcom.sun.management.jmxremote to indicate that I want to be able to manage JVM exposed properties remotely.

If I am writing JMX code in an environment with JDK1.4 + JMX1.2.1, does the system property work in the same manner ?

Additionally, is there a place listing all the system properties that may modify of the behaviour of a JMX managed application ? Thanks to all.

Je soutiens Sarko.

[446 byte] By [garedunorda] at [2007-11-27 3:19:22]
# 1

In JDK 1.4.x you will need JSR 3 + JSR 160. You will have to deploy your own RMI connector server. In order to achieve this you could mimick the out-of-the-box management agent in JDK 5. However, in JDK 1.4.x you will not see neither the PlatformMBeanServer nor the platform MBeans as these new features were introduced in JDK 5. You will be able to deploy your custom MBeans and still see them using JConsole.

Have a look at the examples in the JSR 160 bundle.

You can also have a look at the following link for more details on the out-of-the-box management agent:

http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html#gdfvv

Regards,

Luis

lmalventa at 2007-7-12 8:22:02 > top of Java-index,Core,Monitoring & Management...