An mbean exception notcompliantmbeanexception

Source: Internet
Author: User

Javax. Management. notcompliantmbeanexception:
Mbean class com. kooe. spidercom. Factory. controlcenter does not implement dynamicmbean, neither follows the standard mbean conventions (javax. Management. notcompliantmbeanexception:
Class com. kooe. spidercom. Factory. controlcenter is not a JMX compliant standard mbean) nor the mxbean conventions (javax. Management. 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)

 

Cause

This is a very low-level error,


The standard mbean name used to monitor controlcenter is incorrect. Correct: controlcentermbean

Note: The standard mbean name must be added "mbean" after the class name to be monitored ",
The class to be monitored and the mbean interface must be in the same package, that is, the mybean name is wrong.

Knowledge is not used for caching, and persistence is king

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.