Browse Prior Art Database

Serializing Retry of Transactions

IP.com Disclosure Number: IPCOM000033301D
Original Publication Date: 2004-Dec-06
Included in the Prior Art Database: 2004-Dec-06
Document File: 2 page(s) / 7K

Publishing Venue

IBM

Abstract

Languages for describing business processes such as Business Process Execution Language for Web Services (BPEL4WS) typically provide the notion of scopes. Scopes represent a set of activities that have some common property, such as transaction properties. In atomic scopes, the activities within the scope are run as a standard ACID transaction, in compensation scopes, the activities are run as a business transaction. In the case, a compensation scope is defined within an atomic scope, failure of the atomic scope, may result in a retry of the atomic scope before the undo of the compensation scope has completed. This may result in some unexpected behavior. A method is suggested that provides for the delay of the restart of a failing atomic scope until rollback of the compensation scope has completed.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

THIS COPY WAS MADE FROM AN INTERNAL IBM DOCUMENT AND THIS COPY WAS MADE FROM AN INTERNAL IBM DOCUMENT ANDTHIS COPY WAS MADE FROM AN INTERNAL IBM DOCUMENT AND THIS COPY WAS MADE FROM AN INTERNAL IBM DOCUMENT AND

NOTNOTNOT

NOT

FROM THE PUBLISHED BOOK

FROM THE PUBLISHED BOOKFROM THE PUBLISHED BOOK FROM THE PUBLISHED BOOK

DE820040138 Hans-Joerg Klein/Germany/IBM Dieter Roller, Claudia Zentner, Matthias Kloppmann, Dieter Koenig1, Gunnar Wilmsmann

Serializing Retry of Transactions Serializing Retry of TransactionsSerializing Retry of Transactions Serializing Retry of Transactions

Problem

Languages for describing business processes such as Business Process Execution Language for Web Services (BPEL4WS) typically provide the notion of scopes. Scopes represent a set of activities that have some common property, such as transaction properties. In atomic scopes, the activities within the scope are run as a standard ACID transaction, in compensation scopes, the activities are run as a business transaction. In the case, a compensation scope is defined within an atomic scope, failure of the atomic scope, may result in a retry of the atomic scope before the undo of the compensation scope has completed . This may result in some unexpected behavior. A method is suggested that provides for the delay of the restart of a failing atomic scope until rollback of the compensation scope has completed.

Summary

  Business Process Execution Language for Web Services (BPEL4WS) is an emerging standard for defining business processes using Web Services . An important construct of the language is the notion of scopes . Scopes serve as a means for grouping sets of activities. Scopes may be associated with one or more properties. Each property defines a particular aspect how the set of activities should be treated. If the scope is defined as an atomic scope (as defined for example in BPELJ), the scope is processed as an ACID transaction. If the scope is defined as a compensation scope, the scope is processed as a business transaction; that means the transaction is undone by running compensation activities for the individual activities (see the BPEL specifications for details how compensation is being carried).

  The transaction associated with an atomic scope is managed by a transaction manager, typically using the 2PC protocol. If the atomic scope faults, the transaction needs to be aborted. If so, the transaction manager informs the individual participants to undo their changes. In the commonly used 2PC protocol, the transaction manager finishes as soon as it has informed the individual participants about the outcome (commit or abort).

  The transaction can be restarted as soon as the transaction manager has decided about the outcome of abort . It is up to the individual resource managers to delay processing of the new transaction until the changes of the previous execution of the transaction have been undone .

  In the case of...