Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-623

ejb timer sometimes doesn't get cancelled when ejb is undeployed.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M3
    • Fix Version/s: 1.0
    • Component/s: OpenEJB
    • Labels:
      None

      Description

      In some unknown circumstances an ejb timer can not get cancelled and continues firing even after the ejb has been undeployed. This results in a stack trace like this:

      23:18:26,695 INFO [TransactionalExecutorTask] Exception occured while running user task
      java.lang.RuntimeException: Dead proxy for ejb geronimo.server:EJBModule=modulename.jar,J2EEApplication=appName,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=ejbName
      at org.openejb.timer.BasicTimerServiceImpl.getTimerById(BasicTimerServiceImpl.java:204)
      at org.openejb.timer.BasicTimerServiceImpl$EJBInvokeTask.run(BasicTimerServiceImpl.java:256)
      at org.apache.geronimo.timer.TransactionalExecutorTask.run(TransactionalExecutorTask.java:57)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:552)

      I'm going to put in some temporary hacks to BasicTimerServiceImpl so this message only gets printed once even though the timer keeps firing.

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              djencks David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: