关于tomcat启动报“this web application instance has been stopped already”的处理

出现情况1

启动tomcat的时候,默认会启动这个“/tomcat/webapps/ROOT”路径下的tomcat自带的程序包,当启动这个路径下的程序包后,如果tomcat扫描到还有其他的程序包,就会标题中的错误,为了避免这种情况,处理方式

(一)删除tomcat/webapps/ROOT/下的文件,将自己的程序包移至该目录下

(二)Tomcat/conf/server.xml,在<host></host>之间加入代码:<Context docBase="C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/xxx" path="" debug="0"  reloadable="true"/>这样重新启动tomcat,我们的主目录就被设置为xxx这个项目了

出现情况2

一个服务器上部署2个tomcat,并且这2个tomcat下的程序包是一样,也是会报这个错误,课程找到程序包core.properties,修改里面的dubble、thrift配置端口改为不一样后,重新启动tomcat即可

来自为知笔记(Wiz)

时间: 2024-11-05 19:34:12

关于tomcat启动报“this web application instance has been stopped already”的处理的相关文章

Tomcat多应用启动报错:org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [].

Loaded org.apache.tomcat.util.net.NioBlockingSelector$BlockPoller$RunnableRemove from file:/mnt/software/apache-tomcat-9.0.0.M22/lib/tomcat-coyote.jar] [Loaded org.apache.catalina.core.AccessLogAdapter from file:/mnt/software/apache-tomcat-9.0.0.M22/

tomcat报错:org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already.

tomcat报错:org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. 关于一个HTTP头验证出错的问题: org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoa

【Tomcat】【3】报错 Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedList$Cursor]

用Tomcat运行项目报错: Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool.impl.CursorableLinkedList$Cursor]. The following stack trace is thrown for debugging purposes as well as to attempt to term

项目跑起来之后,一会儿后台就会报错Illegal access: this web application instance has been stopped already. Could not load [com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask]. The following stack trace

一月 24, 2016 6:42:54 下午 org.apache.catalina.loader.WebappClassLoaderBase checkStateForResourceLoading 信息: Illegal access: this web application instance has been stopped already. Could not load [com.mchange.v2.resourcepool.BasicResourcePool$1DestroyRes

解决this web application instance has been stopped already

重启tomcat的时候出错 Illegal access: this web application instance has been stopped already.  Could not load oracle.net.mesg.Message.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate

this web application instance has been stopped already

一台机器启动两个tomcat server.xml connector里面port换一个新端口,然后启动进程 启动不了,日志里面catalina.out里面总显示 Illegal access: this web application instance has been stopped already.  Could not load net.rubyeye.xmemcached.exception.UnknownCommandException.  The eventual followin

tomcat_this web application instance has been stopped already

1.看:this web application instance has been stopped already 所以,需要重启Tomcat的情况下才有可能发上,这是第一个出错条件. 2.看:Could not load ...... 看这个不能直接推出问题产生条件,但是很明显是关于加载的. 总结以上两点,通俗点讲,就是重启了工程(可能是因为直接修改代码,工程reload了), 并且,连过了数据库(登录等),才出现了上述报错信息. 下面是Tomcat server.xml配置: <Conte

java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already.

java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.xml.bind.JAXBContext]. 解决方法:先将项目remove,然后停止服务器,到应用程序目录下将部署的应用删除,然后启动服务器,重新部署就ok了 原因:暂不明确,可能是修改后有原来的残留物.

this web application instance has been stopped already. Could not load java.net.BindException

最近做项目的时候报了一个错误: Illegal access: this web application instance has been stopped already.  Could not load java.net.BindException. ...  ... java.lang.IllegalStateException 上网找了很多资料都说是配置文件修改一下就好了,但是我的改了没有用. 我是用的是ssh框架,发现在继承HibernateDaoSupport的时候出的错,如果去掉就