EJB Containers Passivates EJB Stateful Beans If Removal Timeout In EJB Container Less Than Cache Idle Timeout
(Doc ID 1435217.1)
Last updated on OCTOBER 12, 2022
Applies to:Oracle GlassFish Server - Version 3.0.1 to 3.1.1 [Release 3.0 to 3.1]
Information in this document applies to any platform.
According to the definition of ejb-container attribute:
However, in GlassFish 3.0 to GlassFish 3.1.1, if removal-timeout-in-seconds is configured to less than or equal to cache-idle-timeout-in-seconds, the EJB container passivates stateful beans instead of removing the beans immediately.
If there is application code that has @PrePassvate and @PreDestroy methods, @PrePassivate will be called instead of @PreDestroy.
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