1 Reply Latest reply on Jun 18, 2009 7:59 PM by Alejandro Guizar

    Timers don't get executed after server crash

    Jeppe Klausen Newbie

      We've experiencing some problems regarding timers that don't get executed using jBPM version 3.2.2 after a server crash.

      It seems like that not alle timers are re-initiated after rebooting the application server (ver. 4.2.2). This is getting a quite critical issue since we have a lot of non-executed jobs in the jbpm_job table with old due dates.

      Is there any way to restart those triggers or to prevent this from happening?

      Our jboss.xml looks like this:


        • 1. Re: Timers don't get executed after server crash
          Alejandro Guizar Master

          With the EJB-based scheduler service, timer persistence is the responsibility of the EJB container. jBPM will save Timer objects to the database, but it is up to the EJB timer service to execute them.

          Check your EJB timer configuration. In JBoss AS the persistence policy implementation in use handles if and how timers are persisted. By default timers are persisted to an in-memory database, saved when JBoss stops. It may not be able to save in the event of a system crash.

          For details on EJB timer configuration refer to the administration and development guide.