最近运行一个以前的老项目 发现数据无法插入到数据库里 经常报以下的错误 大家帮忙看看啊
严重: The web application [/itheimaoa] 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.
2013-7-7 18:34:44 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/itheimaoa] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2013-7-7 18:34:44 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/itheimaoa] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2013-7-7 18:34:44 org.apache.coyote.AbstractProtocol stop
------解决方案--------------------好像是com.mysql.jdbc.Driver这个包加载失败,检查一下这个包的路径对不对!
------解决方案--------------------内存泄露咯,
看看哪里数据库连接没有关闭