JDBC Driver被Tomcat 7强行注销了,为什么?
我在tomcat 7中有一个问题,这里有一些关于它的信息,
1 - 我有这个消息:
INFO: Reloading Context with name [/WebApp] has started
Oct 04, 2013 12:20:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/WebApp] 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.
Oct 04, 2013 12:20:50 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/WebApp] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
Oct 04, 2013 12:20:51 PM org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/WebApp] is completed
2 - 当我重新加载应用程序时,问题解决了大约20个小时,然后又回来了。
3 - 我在tomcat上部署了大约10个应用程序,但其中只有2个得到了这个错误。
4 - 问题不存在于这2个应用程序的乞讨中,而是从大约2周开始出现。
那么我该如何解决这个问题,它与我的代码有关吗?