About running springboot times unregistering jmx-exposed beans on shutdown solutions

Source: Internet
Author: User

In fact, this error does not affect the operation of the program, but for Virgo's colleagues, see the error is inevitably uncomfortable, then look at the solution, this error message means: In the shutdown state is not registered JMX exposed beans.

The solution is to add annotations to the @EnableMBeanExport (registration = registrationpolicy.ignore_existing) on the Ingress class

As for the reason, personal understanding is because: because springboot inside in order to see the performance of each bean, so monitoring each bean,jmx is background monitoring, if you want to receive the bean, it is necessary to register, and JMX detects that there are registered or re-registered beans will report this error

About running springboot times unregistering jmx-exposed beans on shutdown solutions

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.