[jboss-user] [EJB 3.0 Users] - Timer not available

komet_1978 do-not-reply at jboss.com
Thu Oct 8 08:11:58 EDT 2009


Hallo,

I am using JBoss 5.1.0.GA with default Datasource settings.

I want to start a timer, store its handle to an entity and access the timer by the stored handle.

Without a restart inbetween everything works fine. But when I restart the jboss after timer creation and access the timer by the stored handle I get the following Exception:

javax.ejb.NoSuchObjectLocalException: Timer not available:
  | at org.jboss.ejb.txtimer.TimerHandleImpl.getTimer(TimerHandleImpl.java:203)
  | ...

It seems to me that the timer does not survive the restart. I thought  that timers are persisted and available also after a restart, aren't they by default? Should I change the configuration for the timerservice to achieve that?

My hsqldb runs in a "InProcessMode". Thanks for helping.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259355#4259355

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259355



More information about the jboss-user mailing list