Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
2009-11-15 22:36
856 查看
Tomcat的异常 之 java.lang.IllegalArgumentException: Document base
有些刚开始使用的Tomcat的朋友会出现的问题,明明已经将某个web应用从tomcat下的webapps下移除了,为什么还会抛这样的异常呢?
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)
********
.................
其实这个问题很简单,tomcat的一个应用不只是那个文件夹而已...
详细操作应该是这样的:
确定3点:
1.该项目的War文件从***/apache-tomcat-6.0.16/webapps 移出;
2.该项目的某些配置从 ***apache-tomcat-6.0.16/work/Catalina/localhost 移除;
3.该项目的配置文件,目录: ***/apache-tomcat-6.0.16/conf/Catalina/localhost移除。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/swang0619/archive/2009/07/29/4390820.aspx
有些刚开始使用的Tomcat的朋友会出现的问题,明明已经将某个web应用从tomcat下的webapps下移除了,为什么还会抛这样的异常呢?
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)
********
.................
其实这个问题很简单,tomcat的一个应用不只是那个文件夹而已...
详细操作应该是这样的:
确定3点:
1.该项目的War文件从***/apache-tomcat-6.0.16/webapps 移出;
2.该项目的某些配置从 ***apache-tomcat-6.0.16/work/Catalina/localhost 移除;
3.该项目的配置文件,目录: ***/apache-tomcat-6.0.16/conf/Catalina/localhost移除。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/swang0619/archive/2009/07/29/4390820.aspx
相关文章推荐
- Tomcat的异常 之 java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
- Tomcat的异常 之 java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
- (转)Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- tomcat启动报错:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\activiti-explorer does not exist or is not a readable directory
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base *** does not exist or is not a readabl
- Error starting static Resources java.lang.IllegalArgumentException: Document base D:\Program Files\apache-tomcat-xxx\webapps\xxx does not exist or is not a readable directory
- Tomcat-java.lang.IllegalArgumentException: Document base F:apps does not exist or is not a readable
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base xxx does not exist or is not a readab
- tomcat的java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base F:\personal\projects\annoMVC\web does not exist or is not a readable directory
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException:Document base ……does not exist or is not a readable directory错误的解决方案
- java.lang.IllegalArgumentException: Document base D:\Tomcat 6.0\webapps\xxx does not exist or is not
- java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: Document base XXXXX does not exist or is not a readable directory
- java.lang.IllegalArgumentException: Document base (文件夹路) does not exist or is not a readable directo
- tomcat java.lang.IllegalArgumentException probe does not exist or is not a readable directory
- java.lang.IllegalArgumentException: Document base D:\myspace\MyProj\WebContent does not exist or is