When Tomcat 6.x is started, manager does not exist or is not a readable directory-Solution

Source: Internet
Author: User
I have re-installed Tomcat 6 in a few days. After installing Tomcat 6, there will be some Tomcat projects (such as root, manager, and host-manager) under wepapps ), in the past few days, the project was deleted when I used nothing. Later, Tomcat was configured in myeclipse to create a web project.
Severe: Error starting static Resources
Java. Lang. illegalargumentexception : Document base d: \ Program Files \ Apache Software Foundation \ Tomcat 6.0 \ webapps \ host-manager does not exist or is not a readable directory

And

Severe: Error starting static Resources
Java. Lang. illegalargumentexception : Document base d: \ Program Files \ Apache Software Foundation \ Tomcat 6.0 \ webapps \ manager does not exist or is not a readable directory

Error;

This is because in conf \ Catalina \ localhost there are two XML file host-manager.xml, manager. XML, delete them in the startup Tomcat will be OK.
Or other folders in Catalina may also have host-manager.xml, files such as manager. XML, delete them all.


This problem also occurs after the project we created is deleted.

Delete the configuration file conf \ Catalina \ localhost, and delete the configurations of server. xml and context. XML in Conf.

When Tomcat 6.x is started, manager does not exist or is not a readable directory-Solution

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.