[esb-issues] [JBoss JIRA] Closed: (JBESB-1482) Process flow is executed even when the process is cancelled
Kevin Conner (JIRA)
jira-events at lists.jboss.org
Tue Jan 15 07:00:36 EST 2008
[ http://jira.jboss.com/jira/browse/JBESB-1482?page=all ]
Kevin Conner closed JBESB-1482.
-------------------------------
Resolution: Done
I have added a check to handle terminated tokens.
This is fixed in revision 17859.
> Process flow is executed even when the process is cancelled
> -----------------------------------------------------------
>
> Key: JBESB-1482
> URL: http://jira.jboss.com/jira/browse/JBESB-1482
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Process flow
> Affects Versions: 4.2.1 CP1
> Environment: FC7/PostgreSQL
> Reporter: Jiri Pechanec
> Assigned To: Kevin Conner
> Fix For: 4.2.1 CP1
>
>
> The process orchestartion is executed even after the process was cancelled by Cancel command.
> Test scenario was
> 1) Start the jBPM process
> 2) jBPM process invokes long running service (10 second sleep)
> 3) CancelCommand was executed
> 4) The long running service has finished and went to Callback Service
> Here I excepted that the message would be ether ignored or exception will be thrown. Instead of it the rest of flow was executed - new messages generated etc.
> The Cancel command was really executed, snippet from log
> 2008-01-15 08:51:15,177 INFO [org.jbpm.command.AbstractCancelCommand] cancel process instance 2000
> 2008-01-15 08:51:15,186 INFO [org.jbpm.command.AbstractCancelCommand] cancel 0 tasks
> 2008-01-15 08:51:15,186 INFO [org.jbpm.command.AbstractCancelCommand] token 2001 canceled
> 2008-01-15 08:51:15,186 INFO [org.jbpm.command.AbstractCancelCommand] cancel 0 tokens
> 2008-01-15 08:51:15,188 INFO [org.jbpm.command.AbstractCancelCommand] finished process cancellation
> This can be issue even when the cancellation from GUI is executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list