6 Replies Latest reply on Jun 4, 2009 9:11 AM by Sumit Shrivastava

    jBPM timer's Action getting locked

    Sumit Shrivastava Newbie

      Hi there,

      I am using the jbpm-jpdl-3.2 version in my project. There are certain processes in my project where I am using jbpm-timer feature.
      I have defined the timer in my processdefinition.xml in the following fashion:

      ....
      <timer name="billingNotification" duedate="5 minutes" >
       <action class = "com.myproject.integration.jbpm.billingapproval.handlers.BillingTimerHandler">
       <processName>billingapproval</processName>
       </action>
      </timer>
      ....
      

      The problem that I am facing is that the above timer fires whenever I am manually increasing the system-time limit beyond the timer-time limit. But if suppose I am simply waiting for 5 mins then the timer action is getting locked just after the timer expires, and doesnot get executed.
      Why is this happening?
      I have given servlet entry for 'JobExecutorServlet' in the project's web.xml.
      Also the jbpm.cfg.xml and hibernate.cfg.xml are having relevant entries regarding JobExecutor and timer.
      If any body can help me accross in this regard it will be a great help. Or if any further info required for answering plz let reply to this question.