+ -
当前位置:首页 → 问答吧 → 各位大哥帮帮忙吧!tomcat奇怪的就关了啊...

各位大哥帮帮忙吧!tomcat奇怪的就关了啊...

时间:2011-08-09

来源:互联网

本人新手求帮助啊!!!
tomcat在运行的时候会出现自动关闭的现象,日志如下.请求大家的帮助~八月 09, 2011 8:52:11 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] 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.
八月 09, 2011 8:52:13 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/test] 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.
八月 09, 2011 8:52:13 上午 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["http-apr-8080"]

作者: fengguozhihen   发布时间: 2011-08-09

给出的日志没有在点子上, 这2个严重信息都是tomcat即将关闭时,清理资源时候报的一些错误。
第一个是jdbc驱动没在程序中注销,它告诉你tomcat已经帮你注销了。
第二个是提示/test应用中还有请求没有完成。

作者: nickycheng   发布时间: 2011-08-09

应该是内存溢出,出现过这种情况,后来重启就好啦。。。

作者: GOD_cheng   发布时间: 2011-08-09

To prevent a memory leak

作者: softroad   发布时间: 2011-08-09

热门下载

更多