-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
AS 4.2.2.GA, AS 5.0.0.Beta4
-
None
-
Workaround Exists
-
-
Medium
The default EJB timer service used by the EJB3 layer is based on
org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory which delegates
to the standard org.jboss.ejb.txtimer.EJBTimerService.
For EJB3 beans using the EJB timer service the thread local pool should not be used.
Since the current EJB timer service creates a new thread for each timer being created, the
thread local pool will create a matching instance of the bean for that thread. Thus the number
of active instances in total can effectively grow unchecked and thus an OOM will occur.
- is related to
-
JBPAPP-1938 EJB timer pool has problems with OOME and workaround does too.
- Resolved
-
JBPAPP-8035 Use GPS Developed Fix for EJBTHREE-1330 [EJB timer service should use a thread pool to avoid OOM]
- Closed
- relates to
-
EJBTHREE-1175 ThreadlocalPool does not remove active BeanContext instances from InfinitePool
- Resolved