Skip to main content
Skip table of contents

Marking transactions as rolled back

You mark an XA transaction as rolled back in NexJ System Admin Console after manually rolling back the transaction in an external system. You mark the transaction to enable the Recovery Manager to attempt to roll back the branch.

This functionality is only available for NexJ Server.

To mark a transaction as rolled back:

  1. In NexJ System Admin Console, navigate to the Statistics page.
  2. Find and expand the node for your NexJ application, for example, expand nexj.finance. Then, expand the node that contains in-doubt transactions.

    This functionality is only available for the NexJ application.

  3. 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.
  4. In the top of the details area, select the transaction branch that you want to roll back. If necessary, use the getAllTransactions command to refresh the list of in-doubt transactions.
  5. In the bottom of the details area, double-click the markRolledBack command. The Invoke markRolledBack command dialog opens.
  6. Double-click in the Value column in the table. The text entry field appears.
  7. Enter the transaction ID and branch ID of the branch that you want to mark as rolled back using the following format: <transaction ID>:<branch ID>
  8. Click InvokeThe transaction branch is marked as rolled back. Operations invoked on a cluster or remote node are output to a log file.
  9. If necessary, commit or rollback other branches for the transaction.
  10. Click the Close button 
     on the top right corner of the dialog. The transaction is committed by the Recovery Manager when all in-doubt branches are committed or rolled back for the transaction. 
    The Invoke markRolledBack command dialog closes.

You have marked a transaction branch as rolled back.

Related tasks

Marking transactions as committed
Viewing journal entries of in-doubt XA transactions

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.