启动Tomcat报异常host-manager does not exist or is not a readable directory

前几天重新安装了Tomcat6,安装完Tomcat6后在wepapps下面会有一些tomcat自带的项目(root、manager、host- manager等几个),这几天项目没什么用我就删掉了,后来在MyEclipse中配置好Tomcat,新建web项目,在启动Tomcat是会出现

严重: 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

严重: 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

错误;

这是因为在conf/Catalina/localhost里面有两个xml文件host-manager.xml、manager.xml,删掉他们在启动Tomcat就没问题了。 
或Catalina里面其它的文件夹中也可能存在host-manager.xml,manager.xml这样的文件, 把它们都删除了就可以了.

再就是我们自己建立的项目删掉以后也会出现这种问题

我们就把conf/Catalina/localhost相应配置文件删掉、把conf下的server.xml及context.xml中的相关配置删掉。

时间: 2024-10-12 02:33:50

启动Tomcat报异常host-manager does not exist or is not a readable directory的相关文章

Document base C:\Tomcat 6.0\webapps\manager does not exist or is not a readable directory

错误显示: 严重: Error starting static Resources java.lang.IllegalArgumentException:Document base C:\Tomcat 6.0\webapps\manager does not exist or is not a readable directory 解决方法: 在部署项目启动后,出现这样的错误可能是因为Tomcat/webapps目录下,原自带的以下四个文件夹让你删除了.并且在你访问http://localhos

关于 Tomcat 6.0:"XXX" does not exist or is not a readable directory 问题的解决办法

问题描述:将项目部署到Eclipse集成的Tomcat服务器中中的时候,控制台报错:XXX does not exist or is not a readable directory . 出现原因:直接在Tomcat工作目录下,将之前部署的项目删除,而Tomcat不知道已经删除. 解决办法: 方法一:[实测有效]简单粗暴,操作方便[推荐] 将Eclipse中现集成好的Tomcat服务器删除"Delete",然后重新配置一个新的Tomcat服务器,将项目部署到服务器中,启动服务器,观察服

Unrecognized Windows Sockets error: 0: JVM_Bind,IntelliJ IDEA启动tomcat报异常

初次使用IntelliJ IDEA,在配置tomcat后,启动报下面异常 信息: Command line argument: (x86)\java\servers\apache-tomcat-7.0.79\temp 2017-8-10 19:55:50 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 2017-8-10 19:55:50 org.apa

启动Tomcat6.x时,manager does not exist or is not a readable directory-解决

几天重新安装了Tomcat6,安装完Tomcat6后在wepapps下面会有一些tomcat自带的项目(root.manager.host-manager等几个),这几天项目没什么用我就删掉了,后来在MyEclipse中配置好Tomcat,新建web项目,在启动Tomcat是会出现 严重: Error starting static Resources java.lang.IllegalArgumentException: Document base D:\Program Files\Apach

Linux下启动tomcat报错RROR org.apache.catalina.core.StandardContext- Error starting static Resources java.lang.IllegalArgumentException: Document base /home/duiba/apache-tomcat/webapps/../webapps/manager do

部署项目的时候,重启tomcat,死活起不来,很郁闷,网上巴拉了半天,结合自己的情况,找到了原因: 错误日志信息: 2018-12-13 13:52:26,992 [main] INFO org.apache.catalina.core.AprLifecycleListener- The APR based Apache Tomcat Native library which allows optimal performance in production environments was no

启动Tomcat出现异常解决方案 java.lang.IllegalArgumentException: Document

启动Tomcat出现异常解决方案 java.lang.IllegalArgumentException: Document base D:\Software_Install\Program Files (x86)\apache-tomcat-6.0.39\webapps\host-manager does not exist or is not a readable directory 启动服务器,出现一下情况,是因为删除了tomcat中的项目,但是残留配置文件没有删除,解决方法:到服务器中(我

启动tomcat报host-manager does not exist or is not a readable di

新安装了一个tomcat6,安装完之后在webapps下面会有一些tomcat自带的项目(ROOT.manager.host-manager...) 把这些没用的项目删掉之后,启动tomcat 报如下错误 java.lang.IllegalArgumentException: Document base D:\tomcat\webapps\host-manager does not exist or is not a readable directory at org.apache.naming

【转】Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

转载地址:http://blog.csdn.net/jnqqls/article/details/8946964 1.错误: 在Eclipse下启动tomcat的时候,报错为:Eclipse下启动tomcat报错:The archive: C:/Program Files(x86)/Java/jdk1.7.0_10/lib/tools.jar which is referenced by the classpath, doesnot exist. 2.原因: 这是因为我中途移动过tomcat的位

NetBeans启动Tomcat报“'127.0.0.1' 不是内部或外部命令”启动失败的解决办法

http://blog.sina.com.cn/s/blog_709548200102vgy4.html ———————————————————————————————————————————————————————————————— 问题描述: 新安装的NetBeans8.0.2,安装过程中还一体化安装了内含的Tomcat8.0.15,打开NetBeans运行web工程失败,控制台输出错误信息如下: 启动 Tomcat 失败. *****\build-impl.xml:1164: 部署错误: