Solve the exception of Tomcat startup exception creating userdatabase.

Source: Internet
Author: User

When a colleague re-configures a development environment, the following exception occurs when Tomcat is started:

10:24:45 org. Apache. Catalina. mbeans. globalresourceslifecyclelistener creatembeans

Severe: exception creating userdatabase mbeans for userdatabase

Javax. Management. malformedobjectnameexception: Missing Value in properties list

At javax. Management. objectname. createpropertiesmap (objectname. Java: 222)

At javax. Management. objectname. parse (objectname. Java: 93)

At first, it was still a problem in our project, because my project also had a class named userdatabase. Later, we deleted the deployment under Tomcat and reported this problem, I found out that it was a problem with Tomcat. I checked it online and finally found a solution, as shown below:

1. Check the <resourceparams name = "userdatabase">... </resourceparams> content in the server. xml file under tomcat.

2. Check the conf/tomcat-users.xml file content, my problem lies in this, the user name is empty!

After correction, everything is normal.

Related Article

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.