使用DBCP出现registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it
2013-04-18 22:31
369 查看
可以要么用旧版本的tomcat(6.025以前),要么就在tomcat的server.xml文件中,把
或者
http://blog.csdn.net/mtgongren/article/details/6763305
注意mysql数据库有个超过8个小时没有被访问,mysql就会关闭空闲的Connection连接而Hibernate检测不到的问题
<!-- Prevent memory leaks due to use of particular java/javax APIs--> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
或者
http://blog.csdn.net/mtgongren/article/details/6763305
注意mysql数据库有个超过8个小时没有被访问,mysql就会关闭空闲的Connection连接而Hibernate检测不到的问题
相关文章推荐
- registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it
- registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped.
- 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.
- application registered the JDBC driver [com.mysql] but failed to unregister it when the web app...
- SpingMVC registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the we
- The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister i
- [tomcat启动报错]registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped
- The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
- tomcat 问题 registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister
- tomcat 启动报错 registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
- registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the
- registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. (转)
- 严重: The web application [/] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregis
- 严重: The web application [/] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregis
- registered the JDBC driver [com.microsoft.jdbc.sqlserver.SQLServerDriver] but failed to unregister
- registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the
- A web application registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it
- The web application [ ] registered the JDBC driver [net.sourceforge.jtds.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver
- The web application registered the 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.
- The web application [test] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregist