JDBC Thin Driver Leaks Threads With Tomcat
(Doc ID 1901449.1)
Last updated on FEBRUARY 03, 2019
Applies to:JDBC - Version 220.127.116.11.0 to 18.104.22.168.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