Tomcat exception java. Lang. illegalargumentexception: document base *** does not exist or is not a readable

Source: Internet
Author: User

This exception is a common exception.

TomcatJava. Lang. illegalargumentexception: document base

Some ofTomcatThe problem that may occur to a friend who has already removed a web application fromTomcatWhy is this exception thrown when webapps is moved down?

?

Java. Lang. illegalargumentexception: document base *** does not exist or is not a readable

Directory
At org. Apache. Naming. Resources. filedircontext. setdocbase (filedircontext. Java: 141)
At org. Apache. Catalina. Core. standardcontext. resourcesstart (standardcontext. Java: 3957)
At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4126)
At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 791)
********

.................

In fact, this problem is very simple,TomcatAn application is not just that folder...

The detailed operation should be as follows:

Confirm 3:

1. The war file of this project is from *** \ apache-Tomcat-6.0.16 \ webapps Removal;

2. Some configurations of this project are from *** APACHE-Tomcat-6.0.16 \ work \ Catalina \ localhost removal;

3. configuration file of the project, directory: *** \ apache-Tomcat-6.0.16 \ conf \ Catalina \ localhost is removed.

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.