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应用 

 

posted @ 2018-04-28 15:33  三里路异乡客  阅读(5027)  评论(0编辑  收藏  举报