ThreadLocal Refer to the CDI Bean Instances Leaks When Undeploy is Performed During Application Execution
(Doc ID 2096068.1)
Last updated on MAY 11, 2018
Applies to:Oracle WebLogic Server - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 12c]
Information in this document applies to any platform.
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!