`

To prevent a memory leak, the JDBC Driver has been forcibly unregistered

阅读更多
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.

web系统跑一段就会暴出上面的问题,网上查了,大家给出了三个可能的原因:
1.struts2中jar包有冲突,导致该问题。。。我去,这个怎么确定是哪个jar有冲突。。。
2.tomcat6.0.24版本增加了对垃圾回收不能处理的对象的检查
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
把这个去掉就不会自动检查也不会报错了,但出问题的根本原因不得而知现在。。。
3.真的jdbc的连接没有关闭

根本原因待跟进。。。
分享到:
评论
1 楼 babyhhcsy 2015-03-19  
你跟进出来结果没有啊

相关推荐

Global site tag (gtag.js) - Google Analytics