原文: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.

问题是tomcat的版本问题,tomcat新检测机制导致的这个问题,换版本可以解决问题,但不建议这么做,租用服务器不是你说换就换的。 其实问题根源是BasicDataSource,BasicDataSource类close 的一个Bug。 BasicDataSource s method close doesn t deregister JDBC driver. This causes perm ...

2017-03-23 09:33 0 9062 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM