Bean Objects Not Garbage Collected Even After The Bean Is Inactive More Than '@StatefulTimeout'
(Doc ID 2864933.1)
Last updated on JUNE 13, 2023
Applies to:
Oracle WebLogic Server - Version 12.2.1.0.0 to 14.1.1.0.0 [Release 12c]Information in this document applies to any platform.
Symptoms
Application creates instances of EJBSessionBeans which implements the interface javax.ejb.SessionBean.
The inactive timeout for the bean is set as @StatefulTimeout(unit = TimeUnit.MINUTES, value = <MINUTES>).
In Weblogic Admin Consoke, after the configured StatefulTimeout, 'Cached Beans Current Count' becomes 0.
But the objects still exists in the heap and does not get garbage-collected.
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 |
Cause |
Solution |