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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user