0 Replies Latest reply on Feb 5, 2010 10:50 AM by Simone Simone

    jBPM Timer problem

    Simone Simone Newbie

      I'm working with jBPM 3.3.1 and I'm trying to use jBPM timer.
      I configured a timer on a node in my jbpm process :





      node name="waitForAsync">


        <timer duedate="10 seconds" name="TimeoutAsincrono" transition="asyncNotReceived">


        <action class="com.swf.fsm.action.AsyncNotReceivedHandler"></action>




        <transition to="checkAsyncReceived"></transition>


        <transition to="node1" name="asyncNotReceived"></transition>






      I start the jbpm process from a Message Driven Bean and it starts correctly but when the process tries to execute the node where I set the Timer, I
      obtain the following error :




      16:18:15,531 ERROR [GraphElement] action threw exception: ejb timer entity lookup problem
      org.jbpm.JbpmException: ejb timer entity lookup problem
      at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.getTimerEntityHome(EntitySchedulerServiceFactory.java:45)
      at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.openService(EntitySchedulerServiceFactory.java:62)
      Caused by: javax.naming.NameNotFoundException: env not bound




      could anyone please help me? I think to forget something in the configuration files but I don't know where.