Full example of JMX in spring
Can anyone tell me what else I need to do apart from the description from
http://www.springframework.org/docs/reference/jmx.html, as I cannot see my bean in jconsole, although the program runs.
It seems the code I added in XML file doesn't create the server at all.
Do I need to code any for Mbean server part? if so can any one post a simple example for me, thanks.
JConsole & MBeanServerFactoryBean
So, why does the JConsole not show the Mbean when we use the MBeanServerFactoryBean to our configuration as shown in 18.2.1 of the JMX document. Java 1.5 VM has MBeanServer 1 : com.sun.jmx.mbeanserver.JmxMBeanServer server in there.