Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3174

java.util.Timer used by LRUEnterpriseContextCachePolicy and subclasses can be killed by uncought Exceptions

    XMLWordPrintable

Details

    Description

      org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy and subclasses uses a shared static java.util.Timer to schedule tasks.

      The inner classes ValidContextRefresher, ResizerTask, OveragerTask & RemoverTask, which are TimerTask(s), need to make sure that exceptions do not propagate from the run() method, since this can kill the shared timer.

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: