[jboss-user] [JBoss jBPM] - No active application scope in long running process

ngeadah do-not-reply at jboss.com
Fri Sep 1 11:33:54 EDT 2006


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?

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

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



More information about the jboss-user mailing list