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配置:

  <Context debug="0" docBase="E:\Workspaces\CTC-ERP_KF\web" path="" reloadable="false">
  </Context>

  原因是:tomcat重新装载web应用程序失败导致的。当应用程序卸载时,并不会关闭所有的线程。当tomcat已经关闭了其类加载器后,一些线程依然会继续运行,这样就导致出错。不过这个不影响正常使用。

Context(表示一个web应用程序,通常为WAR文件,关于WAR的具体信息见servlet规范) docBase 应用程序的路径或者是WAR文件存放的路径
path 表示此web应用程序的url的前缀,这样请求的url为http://localhost:8080/path/****
reloadable 这个属性非常重要,如果为true,则tomcat会自动检测应用程序的/WEB-INF/lib 和/WEB-INF/classes目录的变化,自动装载新的应用程序,我们可以在不重起tomcat的情况下改变应用程序(热部署)
时间: 2024-10-12 19:57:25

tomcat_this web application instance has been stopped already的相关文章

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了 原因:暂不明确,可能是修改后有原来的残留物.

项目跑起来之后,一会儿后台就会报错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 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

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的时候出的错,如果去掉就

解决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

Illegal access:this web application instance has been stopped already

七月 23, 2014 2:34:35 下午 org.apache.catalina.loader.WebappClassLoader loadClass信息: Illegal access: this web application instance has been stopped already.  Could not load com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException.  The eventu

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】【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

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