ThreadLocal Refer to the CDI Bean Instances Leaks When Undeploy is Performed During Application Execution
(Doc ID 2096068.1)
Last updated on AUGUST 16, 2022
Applies to:
Oracle WebLogic Server - Version 12.1.2.0.0 to 12.1.3.0.0 [Release 12c]Information in this document applies to any platform.
Symptoms
If a web application is created with Contexts and Dependency Injection(CDI) Bean, and that web application is undeployed, then thread local still holds the reference to CDI Bean instances.
It is expected instead that the reference to CDI Beans will be deleted when the application is undeployed.
When the deploying and redeploying are repeated frequently, the reference to CDI Bean instances will increase gradually.
At last, it will cause major memory leak and Out Of Memory Error at worst case.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |