Hello Everybody,
I have written a very simple jmx program. The code is as under.
HelloMBean
Hello
SimpleAgent
The code compiles fine and I run the program SimpleAgent with the commandline option java -Dcom.sun.management.jmxremote SimpleAgent. But when I connect to jmx agent using jconsole tool, it dosen't display any local processes to be monitored.
Why is this happening ?. Please tell me where I am going wrong.
I have written a very simple jmx program. The code is as under.
HelloMBean
Hello
SimpleAgent
The code compiles fine and I run the program SimpleAgent with the commandline option java -Dcom.sun.management.jmxremote SimpleAgent. But when I connect to jmx agent using jconsole tool, it dosen't display any local processes to be monitored.
Why is this happening ?. Please tell me where I am going wrong.