严重:The web application [web01] appears to have started a thread named ...

来源:互联网 发布:查看网络攻击的网站 编辑:程序博客网 时间:2024/06/11 04:19
严重:The web application [web01] appears to have started a thread named ...

Tomcat报错

严重:The web application [web01] appears to have started a thread named [PooledThread-1] but has failed to stop it. This is very likely to create a memory leak.

没有关闭ResultSet,PreparedStatement,Connection的后果。用完ResultSet,PreparedStatement,Connection对象后一定要关闭,不然占用很多内存。

分类: Java, jsp, Tomcat
标签: Java, tomcat
0 0