我在 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 周开始出现。
那么我该如何解决这个问题,它与我的代码有关吗?