×

System and method for transaction recovery in a multitenant application server environment

  • US 11,188,427 B2
  • Filed: 09/25/2015
  • Issued: 11/30/2021
  • Est. Priority Date: 09/26/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system for transaction recovery in a multitenant application server environment, comprising:

  • one or more computers, including an application server that enables deployment and execution of software applications, wherein the application server is associated with a domain configuration that is used at runtime to define;

    a domain for execution of the software applications within the application server,a plurality of deployable resources which can be used within the application server,one or more resource groups, which include groupings of deployable resources for use by a partition within the domain, anda plurality of partitions within the domain for execution of the software applications within the application server, wherein each partition is associated with a partition configuration, and wherein each partition provides a subdivision of the domain that can be associated with a tenant and includes one or more resource groups;

    a transaction manager operating in the application server, wherein a first instance of the transaction manager is instantiated in a first partition of the plurality of partitions within the domain for execution of the software applications within the first partition of the application server domain, and wherein a second instance of the transaction manager is instantiated in a second partition of the plurality of partitions within the domain for execution of the software applications within the second partition of the application server domain;

    a determiner resource manager, the determiner resource manager being associated with the first partition of the plurality of partitions, the determiner resource manager being used in a transaction associated with the first partition; and

    a plurality of resource managers, the plurality of resource managers adapted for use in the transaction associated with the first partition and transactions associated with the second partition;

    wherein the first instance of the transaction manager is configured to process the transaction associated with the first partition by,sending a prepare message to the determiner resource manager only after receiving acknowledgement of successful prepare actions on the plurality of resource managers,sending a commit message to the determiner resource manager only after receiving acknowledgement of successful commit actions on the plurality of resource managers; and

    upon a failure of the transaction associated with the first partition,retrieving a list of in-doubt transactions from each of the plurality of resource managers and the determiner resource manager, andrecovering in-doubt transactions associated with the first partition without using a transaction log and without affecting the transactions associated with the second partition.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×