在一个老项目的交接过程中,出现了这个问题,刚开始一直奔着是内存泄漏,jdbc驱动实例无法销毁(因为项目里面有定时任务,显示的调用了sqlsessionfactory,但是是mybaitis项目)的原因。后来才发觉是,jdbc的驱动的ip不对,给的是错误的,更换了之后就OK了。这就是一次明显的XY问题。
一次bug调试经验----To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
原创
©著作权归作者所有:来自51CTO博客作者allsmallpig的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
mory leak, the JDBC Driver has been forcibly unregistered.
E:/tomcat7/wtpwebapps/cms3/WEB-INF/classes/2014-3-31 16:21:06 org.apache.catalina.core.StandardContext reload信息: Reloading Context with name [/cms3] has started2014-3-31 16:21:06 org.apache.catalina.l
failed memory registered stopped classes -
每日一次,bug记录
【代码】每日一次,bug记录。
bug mybatis java jar spring