[jboss-jira] [JBoss JIRA] Resolved: (JBAS-2773) LRUEnterpriseContextCachePolicy should be updated to use org.jboss.util.TimerQueue instead of java.util.Timer
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Fri Dec 10 07:36:52 EST 2010
[ https://issues.jboss.org/browse/JBAS-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse resolved JBAS-2773.
------------------------------------
Resolution: Out of Date
> LRUEnterpriseContextCachePolicy should be updated to use org.jboss.util.TimerQueue instead of java.util.Timer
> -------------------------------------------------------------------------------------------------------------
>
> Key: JBAS-2773
> URL: https://issues.jboss.org/browse/JBAS-2773
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB2
> Affects Versions: JBossAS-4.0.3 SP1
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
>
> 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.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list