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.