Patent ID: 7996837

Claim:
A method for recovering from an incomplete transaction, the method comprising: creating a dummy resource to represent a real connection to a real resource and registering the dummy resource with a Transaction Manager using a name that would normally be used by said real connection to the real resource before a server crash; checking, by the Transaction Manager, the name of the dummy resource to determine whether the name was involved in an unresolved transaction; and creating the real connection to the real resource and performing recovery of the unresolved transaction using the real connection if the Transaction Manager determines that the name of the dummy resource was involved in the unresolved transaction, otherwise if the Transaction Manager determines that the name of the dummy resource was not involved in the unresolved transaction, avoiding creation of said real connection; and thereby providing a notification mechanism by which the Transaction Manager is enabled to determine that the recovery is needed, wherein creating a dummy resource and registering the dummy resource further includes: causing the Transaction Manager to initiate recovery processing by registering a non-existent Resource Adapter with the Transaction Manager.