An Mbean exception notcompliantmbeanexception

Source: Internet
Author: User
Exception

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

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.