1 Reply Latest reply on Sep 1, 2006 1:12 PM by Ronald van Kuijk

    No active application scope in long running process

    ngeadah Newbie

      Hi,

      I have a long running business process defined in JBPM and I am facing a stubborn problem: when my process "awakens" after some period of time spent in a wait state (I use a timer to wait), I get a "No active application scope" exception when JBPM executes the next node (which contains a simple expression).

      My exception occurs on the following node:

      <decision name="isARAvailable" expression="#{ARChecker.isARAvailable}">
       <transition name="false" to="waitForAR"></transition>
       <transition name="true" to="end"></transition>
      </decision>
      


      The ARCheker component is defined as as stateful EJB:

      @Stateful
      @Scope(ScopeType.BUSINESS_PROCESS)
      @Name("ARChecker")
      public class ARCheckerBean implements ARChecker {
      ...
      
      
      public String isARAvailable()
      {
      ...
      }
      ...
      


      What am I missing?