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

ngeadah do-not-reply at jboss.com
Fri Sep 1 13:52:52 EDT 2006


Posted to JBPM forum but was directed to ask the question here...

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 ARChecker 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=3968972#3968972

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



More information about the jboss-user mailing list