Javax.management.NotCompliantMBeanException:MBean class Com.kooe.spidercom.factory.ControlCenter does not implement Dynamicmbean, neither follows Standard MBean conventions (Javax.management.NotCompliantMBeanException:Class Com.kooe.spidercom.factory.ControlCenter is not a JMX compliant Standard MBean) nor the MXBean conventions (Javax.manageme Nt. NotCompliantMBeanException:com.kooe.spidercom.factory.ControlCenter:Class Com.kooe.spidercom.factory.ControlCenter is not a JMX compliant MXBean)
At Com.sun.jmx.mbeanserver.Introspector.checkCompliance (introspector.java:160)
At Com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean (defaultmbeanserverinterceptor.java:287)
At Com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean (defaultmbeanserverinterceptor.java:199)
At Com.sun.jmx.mbeanserver.JmxMBeanServer.createMBean (jmxmbeanserver.java:286)
At Com.kooe.spidercom.rmi.BDBServer.registMBean (bdbserver.java:31)
At Com.kooe.spidercom.rmi.BDBServer.main (bdbserver.java:44)
reason
This is a very low-level mistake,
The standard Mbean name used to monitor ControlCenter is not correct: Controlcentermbean
Note: The standard MBean name must be followed by an "MBean" after the class name to be monitored, and the class and MBean interfaces to be monitored must be under the same package, that is, Mybean's name is wrong. Knowledge is not used for caching, persistence is kingly