Title | appears to have started a thread named [mysql-cj-abandoned-connection-cleanup] but has failed to stop it. This is very likely to create a memory leak. appears to have started a thread named [mysql-cj-abandoned-connection-cleanup] but has failed to stop it. This is very likely to create a memory leak. | ||||||
Writer | 이지섭 | Write Date | Aug 13 2024 | Modify Date | Aug 29 2024 | View Count | 1962 |
When shutting down Tomcat, you may see a message like the below one.
appears to have started a thread named [mysql-cj-abandoned-connection-cleanup] but has failed to stop it. This is very likely to create a memory leak.
Place the mysql driver in the ~/apache-tomcat-10.1.25/lib directory
AND
Delete the mysql driver from the ~/apache-tomcat-10.1.25/webapps/ROOT/WEB-INF/lib directory.
Place the JDBC driver in the library directory of the WAS,
Delete the JDBC driver from the WEB-INF/lib directory of the web application.
For more details on how this works,
you can read the Stack Overflow article on the web page referenced below.
[ Referenced web pages ] | |||||||