【发布时间】:2010-05-31 01:35:42
【问题描述】:
我在 tomcat 中为 web-app 设置了一个JDBCRealm,当我重新加载它时,我从 tomcat 得到了这个:SEVERE: A web application 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.
我使用 tomcat 6.0.24 和 MySQL Connector 5.1.10,,,
有没有办法清理掉,让tomcat不显示SEVERE消息?
【问题讨论】:
-
这不完全是内存泄漏,它是 Tomcat 阻止的警告。