tomcat 问题 registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister

来源:互联网 发布:安畅网络认证 编辑:程序博客网 时间:2024/06/08 17:23
 

在copy一个ssh工程到tomcat中,使用了tomcat的连接池,在conf/context.xml中添加相应配置,然后重启tom,报错:

Error listenerStart
2012-3-16 14:13:34 org.apache.catalina.core.StandardContext start
涓ラ噸: Context [/dhtxl] startup failed due to previous errors
2012-3-16 14:13:34 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
涓ラ噸: The web application [/dhtxl] registered the JBDC 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.
2012-3-16 14:13:34 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
涓ラ噸: The web application [/dhtxl] 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.

 

经查发现开发环境的tom为6.0.20,而出错的生产环境为6.0.29(据查6.0.24、6.0.26均会出现此问题)遂重装tomcat6.0.20解决,此问题的tom只要不高过6.0.20都可以,如

6.0.18

原创粉丝点击