问题描述
- tomcat上部署了一个项目,一访问就会自动关闭
-
ay 12, 2015 9:49:47 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8888"]
May 12, 2015 9:49:47 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
May 12, 2015 9:49:47 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
May 12, 2015 9:49:47 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 3 instance(s) to be deallocated for Servlet [fileServlet]
May 12, 2015 9:49:48 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 2 instance(s) to be deallocated for Servlet [fileServlet]
May 12, 2015 9:49:49 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 2 instance(s) to be deallocated for Servlet [fileServlet]
May 12, 2015 9:49:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/mall] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 12, 2015 9:49:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/mall] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 9:49:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/mall] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.
May 12, 2015 9:49:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/mall] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.
May 12, 2015 9:49:49 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/mall] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 9:49:49 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8888"]
May 12, 2015 9:49:49 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
May 12, 2015 9:49:49 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8888"]
May 12, 2015 9:49:49 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
解决方案
有没有那位大神碰到过,或知道是什么原因的
解决方案二:
可能是你的项目有些代码使用不当,导致了这个错误,基本上是哪些配置文件,你可以试试清空配置文件开启tomcat,然后一部分一部分添加内容开启tomcat,总可以找到的。我就是这么做的。。
时间: 2024-09-17 04:15:29