You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Karthick Sankarachary (JIRA)" <ji...@apache.org> on 2009/01/08 02:42:44 UTC

[jira] Resolved: (ODE-477) exection order of multiple scoped CompensationHandlers not enforced as BPEL 2.0 specification required

     [ https://issues.apache.org/jira/browse/ODE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthick Sankarachary resolved ODE-477.
---------------------------------------

    Resolution: Fixed

It turns out that the server does not respect the first rule outlined in the section titled "default compensation order", which states that if there is a control dependency between a pair of scopes, then the one that completes last must be compensated first. To enforce this constraint, we now sort the compensation handlers in terms of their respective start and end times. 

This issue has been resolved on the trunk (1.X branch), thanks to revisions 732584, 732579 (732580, 732587).

> exection order of multiple scoped CompensationHandlers not enforced as BPEL 2.0 specification required
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-477
>                 URL: https://issues.apache.org/jira/browse/ODE-477
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.2
>         Environment: Java 5 +
>            Reporter: Shammy Chen
>            Assignee: Karthick Sankarachary
>         Attachments: compensation-order-dependency-for-branch.patch, compensation-order-dependency-for-trunk.patch
>
>
> When some fault occurs in a scope of multi-scoped process,we want to compensate all scope(s) effects executed by former scope(s),what we can do is to cause a compensation,ODE will make it happen. 
> The matter is, Exection order of multiple scoped CompensationHandlers not strictly enforced as BPEL 2.0 specification required.Say we have three sequential scopes named A,B,C respectively,error occures in scope C during execution,we want to compensate scope A and B,with the reverse order of execution.But ODE doesn't gurantee this,it sometimes compensates B before A,sometimes compensates A before B.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.