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