启动tomcat报host-manager does not exist or is not a readable directory异常
2015-02-06 23:02
603 查看
安装了一个tomcat6,安装完之后在webapps下面会有一些tomcat自带的项目(ROOT、manager、host-manager…) 把这些没用的项目删掉之后,启动tomcat 报如下错误
原因是,在你未删除这些之前启动过tomcat 然后会在tomcat\conf目录下自动生成Catalina文件夹
里面有manager.xml、host-manager.xml两个文件。
解决办法:删除F:\Tomcat_home\apache-tomcat-6.0.20\conf\Catalina\localhost中相应项目的xml文件
之后就可以启动了。
java.lang.IllegalArgumentException: Document base D:\tomcat\webapps\host-manager does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4320) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4489) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
原因是,在你未删除这些之前启动过tomcat 然后会在tomcat\conf目录下自动生成Catalina文件夹
里面有manager.xml、host-manager.xml两个文件。
解决办法:删除F:\Tomcat_home\apache-tomcat-6.0.20\conf\Catalina\localhost中相应项目的xml文件
之后就可以启动了。
相关文章推荐
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat 时报异常host-manager does not exist or is not a readable directory
- Tomcat 启动报错:host-manager does not exist or is not a readable directory
- Tomcat 启动报错:host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- tomcat启动报错:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\activiti-explorer does not exist or is not a readable directory
- 启动Tomcat6.x时,manager does not exist or is not a readable directory-解决
- 启动Tomcat6.x时,manager does not exist or is not a readable directory-解决
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- host-manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory
- 启动Tomcat6.x时manager does not exist or is not a readable directory