Sun GlassFish Enterprise Server 2.1 Administration Guide
只搜寻这本书
以 PDF 格式下载本书 (1587 KB)

Transaction and Timer Commands

The transaction and timer commands allow you to control the transaction and timer subsystems; allowing you to suspend any inflight transactions. These commands are supported in remote mode only.

Table C–13 Transaction Commands

Command

Definition

freeze-transaction

Freezes the transaction subsystem during which time all the inflight transactions are suspended. Invoke this command before rolling back any inflight transactions. Invoking this command on an already frozen transaction subsystem has no effect.

unfreeze-transaction

Resumes all the suspended inflight transactions. Invoke this command on an already frozen transaction.

recover-transactions

Manually recovers pending transactions.

rollback-transaction

Rolls back the named transaction.

unpublish-from-registry

list-timers

Lists the timers owned by a specific server instance