严重: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对象后一定要关闭,不然占用很多内存。

posted @ 2015-09-24 13:26  bada130  阅读(18641)  评论(0)    收藏  举报