Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1679

Persistent @Schedule timers fail to find the timeout method on the bean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.2.Final, 7.1.0.Alpha1
    • 7.0.1.Final
    • EJB
    • None

      A persistent @Schedule timer on a bean runs into a method not found error while triggering the timeout:

      java.lang.RuntimeException: Unknown timeout method public void com.htu.fizio.impl.SchedulerBean.checkAttendance()
      
                at org.jboss.as.ejb3.component.singleton.SingletonComponentInstance.invokeTimeoutMethod(SingletonComponentInstance.java:67)
      
                at org.jboss.as.ejb3.timerservice.SingletonTimedObjectInvokerImpl.callTimeout(SingletonTimedObjectInvokerImpl.java:48)
      
                at org.jboss.ejb3.timerservice.mk2.task.CalendarTimerTask.callTimeout(CalendarTimerTask.java:73)
      
                at org.jboss.ejb3.timerservice.mk2.task.TimerTask.run(TimerTask.java:120)
      
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [:1.7.0]
      
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [:1.7.0]
      
                at java.util.concurrent.FutureTask.run(FutureTask.java:166) [:1.7.0]
      
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0]
      
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0]
      
                at java.lang.Thread.run(Thread.java:722) [:1.7.0]
      

      Referenced forum thread has the details.

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: