You can view journal entries for XA transactions that are in doubt.
To view journal entries for XA transactions:
- In NexJ System Admin Console, navigate to the Statistics page.
Find and expand the node for your NexJ application, for example, expand nexj.finance. Then, expand the node that contains in-doubt transactions.
- Select the Recovery Manager node.
In-doubt transactions display on top of the details area. Available commands display on the bottom of the details area. For in-doubt transactions, the Count
attribute displays the total number of branches in all in-doubt transactions. The Transaction
attribute displays the transaction branches that you can mark as committed or rolled back. The following information displays for each transaction branch.- xid
The transaction branch ID. The xid contains the transaction ID followed by the branch ID. A colon (:) separates the transaction and branch ID, for example, xid=2398472398:00
and xid=2398472398:01
. time
The last time that any actions were performed on the branch.
resource
The name of the resource that is tracking the branch, for example, an SQL connection.
state
The state of the branch, for example, Committed heuristically.
- In the bottom of the details area, double-click the getAllTransactions command. The Invoke getAllTransactions command dialog opens.
- Click the Invoke button.
- Click the Close button on the top right corner of the dialog. The Invoke getAllTransactions command dialog closes.
You have viewed journal entries for XA transactions that are in doubt.
You can now mark transaction branches as committed or rolled back after you resolve them externally.
Marking transactions as committed
Marking transactions as rolled back