myecplice+tomcat写servlet时连接数据库就报错
严重: The web application [/UsersManager] 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.
五月 31, 2014 11:48:11 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/UsersManager] 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.
五月 31, 2014 11:48:11 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: Stack trace of thread "Abandoned connection cleanup thread":
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:40)
怎么办???
严重: The web application [/UsersManager] 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.
五月 31, 2014 11:48:11 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/UsersManager] 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.
五月 31, 2014 11:48:11 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: Stack trace of thread "Abandoned connection cleanup thread":
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:40)
怎么办???