JDBC Thin Driver Leaks Threads With Tomcat
(Doc ID 1901449.1)
Last updated on NOVEMBER 08, 2021
Applies to:JDBC - Version 18.104.22.168.0 to 22.214.171.124.0 [Release 11.2 to 12.1]
Information in this document applies to any platform.
Oracle JDBC Thin driver is deployed in Tomcat. When the web application is shut down, it experiences the following problems:
1) The OracleDiagnosabilityMBean is not de-registered
2) OracleTimeoutPollingThread does not stop
3) The following thread does not stop: oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser
All of these result in references to the webapp classloader to be pinned in memory, resulting in a classloader leak, excessive PermGen memory
consumption, and eventual application server failures (OutOfMemoryError - PermGen space), after some cycles of hot-redeployment of web application.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document