RESOURCE MANAGER FAILURE HANDLING IN A MULTI-PROCESS TRANSACTION ENVIRONMENT
First Claim
1. A method for providing notification of a failure of a resource managed by a resource manager, the method comprising:
- a processor, receiving a request to perform a transaction, wherein one or more activities of the transaction are associated with one or more application server processes;
the processor, creating one or more entries in a mapping file, wherein the one or more entries include at least information regarding the one or more application server processes and the one or more resource managers to which the one or more application server processes are connected, to perform the one or more activities of the transaction;
in response to detection of a resource failure associated with a resource manager of the one or more resource managers, the processor, receiving a notification from a call-back function of an extended architecture (XA) switch of the resource manager associated with the resource failure;
the processor, determining the one or more application server processes connected to the resource manager associated with the resource failure, from the one or more entries included in the mapping file; and
the processor, sending an event to terminate the one or more application server processes connected to the resource manager associated with the resource failure.
1 Assignment
0 Petitions
Accused Products
Abstract
A processor receives a request to perform a transaction, wherein each activity of the transaction is respectively associated with an application server process. The processor creates an entry in a mapping file, which includes at least information regarding the transaction, one or more resource managers to perform activities of the transaction, and the resources managed by the one or more resource managers. In response to detection of a failure of a resource manager of the one or more resource managers, the processor receives a notification from a call-back function of an XA specification switch of the resource manager associated with the failure. The processor identifies an application server process associated with the failure of the resource manager, and sends an event to terminate the application server process associated with the failure of the resource manager.
11 Citations
7 Claims
-
1. A method for providing notification of a failure of a resource managed by a resource manager, the method comprising:
-
a processor, receiving a request to perform a transaction, wherein one or more activities of the transaction are associated with one or more application server processes; the processor, creating one or more entries in a mapping file, wherein the one or more entries include at least information regarding the one or more application server processes and the one or more resource managers to which the one or more application server processes are connected, to perform the one or more activities of the transaction; in response to detection of a resource failure associated with a resource manager of the one or more resource managers, the processor, receiving a notification from a call-back function of an extended architecture (XA) switch of the resource manager associated with the resource failure; the processor, determining the one or more application server processes connected to the resource manager associated with the resource failure, from the one or more entries included in the mapping file; and the processor, sending an event to terminate the one or more application server processes connected to the resource manager associated with the resource failure. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification