Patent ID: 7860840
Filing Date: 2010-12-28
Classification: G06F

Abstract:
1. A method for providing a resource manager with recovery data for recovering the results of a transaction, the method comprising: at an intermediate transaction manager separate from, and disposed between, one or more resource managers and a plurality of transaction managers, the plurality of transaction managers including a plurality of different types of transaction managers and the intermediate transaction manager providing a transparent interface for the plurality of transaction managers to communicate with the one or more resource managers with the transparent interface of the intermediate transaction manager causing it to appear to the plurality of transaction managers that they communicate directly with the one or more resource managers, intercepting a recovery cookie directed from one of the plurality of different types of transaction managers, the intercepted cookie being directed from the one of the plurality of different types of transaction managers to a resource manager, the recovery cookie for use by the resource manager to recover the correct outcome of a transaction between the transaction manager and the resource manager when the transaction fails, wherein intercepting the cookie by the intermediate transaction manager causes the intermediate transaction manager to act transparently to the one of the plurality of transaction managers as the intercepted recovery cookie is directed by the one of the plurality of transaction managers to the resource manager; following intercepting of the recovery cookie, an act of the intermediate transaction manager wrapping the recovery cookie with transaction manager type information and identity information, the transaction manager type information and identity information differentiating the transaction manager from the other transaction managers wherein the transaction manager type information and identity information are useable to re-attach to the transaction manager to recover the correct outcome of the transaction; after wrapping the recovery cookie, an act of the intermediate transaction manager sending the wrapped recovery cookie to the resource manager; and an act of the intermediate transaction manager receiving a recovery-complete message from the resource manager and sending the recovery-complete message to each of the plurality of transaction managers that are identified in a list maintained by the intermediate transaction manager, the list identifying only transaction managers that are currently active.