Tomcat exception: Java. Lang. illegalargumentexception: document base *** does not exist or is not a read

Source: Internet
Author: User

Link: http://liuming690452074.blog.163.com/blog/static/113675734201001031320517/

 

Tomcat exception: Java. Lang. illegalargumentexception: document base

Some recently started Tomcat users may encounter problems. Why do you still throw such exceptions when moving a web application down from webapps under tomcat?

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. One Tomcat application is not just that folder...

The detailed operation should be as follows:

Confirm 3:

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

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

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

Or use another server, which is provided by myeclipse .....

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.