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


 

[WARNING] [] [javax.enterprise.web.util] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1473348595597] [timeMillis: 1473348603791] [levelValue: 900] [[ The web application [unknown] registered the JDBC driver [com.mysql.cj.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.]] [/pre]

 

 

GlassFish警告意味着您的應用程序注冊了JDBC驅動程序,但在取消部署期間未注銷它。重新部署應用程序時,舊版本會被取消部署,並引發上述警告。它不應該影響新部署的應用程序。

 It you undeploy all applications, restart the server and deploy your application, you should not see the warning.

 1、首先undeploy所有應用

 2、重新啟動服務器

 3、deploy應用 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 tomcat啟動報錯:To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 啟動錯誤筆記:DruidDriver] but failed to unregister it when the web application was stopped,To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Tomcat出現To prevent a memory leak, the JDBC Driver has been forcibly unregistered.問題的一種情況記錄 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. 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. 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 [] 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. Tomcat運行一段時間后,自動停止關閉,To prevent a memory leak,Druid 數據庫連接自動關閉, the JDBC Driver has been forcibly unregistered. 嚴重: The web application [] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDB A problem has been detected and windows has been shut down to prevent damage
 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM