-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
JBossAS-4.0.3 SP1
-
None
LRUEnterpriseContextCachePolicy should be updated to use org.jboss.util.TimerQueue instead of java.util.Timer.
The java.util.Timer implementation does not handle runtime exceptions thrown from the tasks, if any task throws a runtime exception when it executes the timer thread is killed and no further timers will fire.
The classes EntitySynchronizationInterceptor, LRUEnterpriseContextCachePolicy and LRUStatefulContextCachePolicy all set tasks on the static timer referenced from LRUEnterpriseContextCachePolicy, if any one of these tasks fail all of the timers are affected.
- relates to
-
JBAS-3174 java.util.Timer used by LRUEnterpriseContextCachePolicy and subclasses can be killed by uncought Exceptions
- Closed