Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Performance Tuning Guide

- Previous: Java Message Service Settings
- Next: Tuning the Transaction Service

## Monitoring the Transaction Service

Transaction Manager monitoring is disabled by default. Enable monitoring of the transaction service with the Admin Console at Configurations > config-name > Monitoring.

You can also enable monitoring with these commands:

    set serverInstance.transaction-service.monitoringEnabled=true
    reconfig serverInstance

### Viewing Monitoring Information

When you have enabled monitoring of the transaction service, view results

- With Admin Console at Standalone Instances > server-name (Monitor | Monitor). Select transaction-service from the View dropdown.

- With this command:

      asadmin get -m serverInstance.transaction-service.*

The following statistics are gathered on the transaction service:

- `total-tx-completed` Completed transactions.

- `total-tx-rolled-back` Total rolled back transactions.

- `total-tx-inflight` Total inflight (active) transactions.

- `isFrozen` Whether transaction system is frozen (true or false)

- `inflight-tx` List of inflight (active) transactions.

Here is a sample of the output using `asadmin`:

    ********** Stats for JTS ************
     total-tx-completed = 244283
     total-tx-rolled-back = 2640
     total-tx-inflight = 702
     isFrozen = False
     inflight-tx =
     Transaction Id , Status, ElapsedTime(msec)
     000000000003C95A_00, Active, 999

- Previous: Java Message Service Settings
- Next: Tuning the Transaction Service

- © 2010, Oracle Corporation and/or its affiliates