Tomcat JDBC Data Source Memory Leak Issue
Your Tomcat application log indicates a potential memory leak related to the JDBC data source. This issue arises when the web application registers a JDBC driver but fails to unregister it upon its shutdown.
JDBC Driver Unregistration
To address the first error, the JDBC driver has been forcefully unregistered to prevent a memory leak. However, this suggests that the destroy-method in your
MySQL Statement Cancellation Timer Thread
The second error pertains to a thread named "MySQL Statement Cancellation Timer" that was started but not stopped by the web application. This thread is typically used to cancel pending database operations. The error message suggests that the thread was not properly terminated, which could lead to a memory leak.
Potential Solution
To resolve the issue with the MySQL Statement Cancellation Timer thread, try the following:
Please refer to the following resources for additional information:
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3