我已經爲web應用程序的tomcat裏面一個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.
的MySQL在Tomcat中
我使用Tomcat 6.0.24,與MySQL連接器5.1 .10 ,,,
有沒有辦法清理它,所以tomcat將不會顯示SEVERE
消息?
這不完全是內存泄漏,它是Tomcat阻止其中一個的警告。 – Yishai 2010-05-31 01:37:33