Show TOC

Monitoring Distributed TransactionsLocate this document in the navigation structure

Prerequisites

To view the statistics about distributed transactions, you have opened the Start of the navigation path Troubleshooting Next navigation step Java Next navigation step Distributed Transactions End of the navigation path function of SAP NetWeaver Administrator.

Context

The Distributed Transactions plug-in of the SAP NetWeaver Administrator allows you to monitor the successfulness of the AS Java Transaction Service in handling JTA transactions and recovering incompleted transactions after a resource crash.

Procedure

  • To view basic statistics of the Transaction Service, choose the Transaction Services tab.

    The basic statistics comprise general information about all transactions that have been processed after the last restart of the application server, as well as a descriptive list of all pending or not recovered transactions.

    The overall status shows if there are any pending or unrecovered transactions in the transaction log. The possible states are the following:

    • - there are no pending or unrecovered transactions

    • - there are transactions pending to be completed

    • - there are transactions that have not been recovered

    1. To view detailed information about a particular pending or not recovered transaction, select the transaction in the Pending and Unrecoverable Transactions list.

      The Details About Transaction area opens.

    2. To display a detailed description of the problem that caused the transaction not to be committed successfully, choose the Detailed Problem Information tab.

      If the Transaction Service property CallForgetAfterHeuristicDecisions is set to false , the following options are available:

      • Abandon - calls abandon on the resource managers that have heuristically completed the transaction.

      • Forget - calls forget on the resource managers that have heuristically completed the transaction.

    3. To view a list of the application resources that are affected by the particular problem, choose the Affected Resources tab.

  • To view advanced statistics of the Transaction Service, choose the Advanced Monitors tab.

    The advanced statistics contains a detailed summary of the number of transactions according to their status, rollback cause, per resource manager and per transaction classifier.

    • To clear the displayed statistics per resource manager and per transaction classifier, choose Clear Transactions Statistics .