-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.15 swallows
-
Fix Version/s: 0.15 swallows
-
Labels:
At the moment we have an error in our logs when the app goes down:
SEVERE: The web application [] 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.
This is a well known Tomcat bug that it doesn't unregisters JDBC driver, but it's possible to overcome this error by unregistering it on our own.
Suggest next way: to add a listener in web.xml that will do the clean up. But this should be googled for more details.