关闭Tomcat(7.0)老出现这样的严重提示是什么原因?
SSH项目,用DBCP连接数据库,下面是提示信息
2011-10-14 15:19:39 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/marketservice] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-10-14 15:19:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/marketservice] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.
2011-10-14 15:19:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/marketservice] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2011-10-14 15:19:39 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/marketservice] created a ThreadLocal with key of type com.opensymphony.xwork2.inject.ContainerImpl$10 and a value of type java.lang.Object[] but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2011-10-14 15:19:39 org.apache.coyote.AbstractProtocolHandler stop
信息: Stopping ProtocolHandler ["http-bio-8080"]
2011-10-14 15:19:39 org.apache.coyote.AbstractProtocolHandler stop
信息: Stopping ProtocolHandler ["ajp-bio-8009"]
[code="java"]
com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/student
root
wj
[/code]
我的是mysql的,你换个驱动换成oracle,就行了,不行加我QQ503229799我帮你解决
如果您的程序是在Tomcat中执行,那就是Tomcat的机制通知您因为要避免内存泄漏,强制把该driver给移除了。不用理它
驱动写错了