Managing active transactions

Use this task to manage transactions that are active on an application server.

Why and when to perform this task

You can use this task to display a snapshot of all the transactions currently running on an application server. For each transaction, the following properties are shown: its local ID, global ID, and current status. The transaction status is shown as an integer value. The values correspond to the following status:

0 - active
1 - marked for rollback 
2 - prepared
3 - committed
4 - rolled back
5 - unknown
6 - none
7 - preparing
8 - committing
9 - rolling back

You can also choose to finish transactions manually.

Under normal circumstances, transactions should run and complete (commit or rollback) automatically, without the need for intervention. However, in some circumstances, you may need to resolve a transaction manually. For example, you may want to rollback a transaction that has become stuck polling a resource manager that you know will not become available again within the desired timeframe.

Note: If you choose to finish a transaction on an application server, it is recorded as having completed in the transaction service logs for that server, so will not be eligible for recovery during server start up. If you finish a transaction, you are responsible for cleaning up any in-doubt transactions on the resource managers affected.

To manage the active transactions for an application server, use the administrative console to complete the following steps:

Steps for this task

  1. In the navigation pane, select Servers-> Manage Application Servers
    This displays a list of application servers in the content pane.
  2. In the content pane, click your_app_server
    This displays the properties of the application server, your_app_server.
  3. In the content pane, click the Runtime tab.
    This displays the runtime properties of the application server.
  4. In the Additional Properties table, select Transaction Service
    This displays the runtime properties of the Transaction Service.
  5. Click Manage Transactions.
    This displays a snapshot of all the transactions currently running on the server. For each transaction, the following properties are shown: its local ID, current status, and global ID.
  6. If you want to finish one or more transactions, select the checkbox provided on the entry for the transaction, then click Finish. Alternatively, to finish all transactions, select the checkbox in the header of the transactions table, then click Finish.

Related tasks
Configuring transaction properties for an application server
Managing transaction logging for optimum server availability
Using the transaction service



Searchable topic ID:   tjta_manage
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/tjta_manage.html

Library | Support | Terms of Use | Feedback