[jboss-jira] [JBoss JIRA] Created: (AS7-1679) Persistent @Schedule timers fail to find the timeout method on the bean

jaikiran pai (JIRA) jira-events at lists.jboss.org
Tue Aug 30 06:16:26 EDT 2011


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

                 Key: AS7-1679
                 URL: https://issues.jboss.org/browse/AS7-1679
             Project: Application Server 7
          Issue Type: Bug
          Components: EJB
    Affects Versions: 7.0.1.Final
            Reporter: jaikiran pai
            Assignee: jaikiran pai
             Fix For: 7.0.2.Final, 7.1.0.Beta1


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

{code}
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]
{code}

Referenced forum thread has the details.




--
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