asadmin [asadmin-options] freeze-transaction-service [--help]
[--target target]
freeze-transaction-service DRAFT |
Previous | Next | Contents |
freezes the transaction subsystem
Synopsis
asadmin [asadmin-options] freeze-transaction-service [--help]
[--target target]
Description
The freeze-transaction-service
subcommand freezes the transaction
subsystem, preventing the transaction manager from starting, completing,
or changing the state of all in-flight transactions. Invoke this command
before rolling back any in-flight transactions. Invoking this subcommand
on an already frozen transaction subsystem has no effect. Restarting the
server unfreezes the transaction subsystem. This subcommand is supported
in remote mode only.
Options
Options for the asadmin
utility. For information about these
options, see the asadmin
(1M) help page.
--help
-?
Displays the help text for the subcommand.
--target
This option specifies the target on which you are freezing the
transaction service. Valid values are:
server
Freezes the transaction service for the default server instance
server
and is the default value.
Freezes the transaction service for all server instances that use the named configuration.
Freezes the transaction service for every server instance in the cluster.
Freezes the transaction service for a particular server instance.
Examples
Example 1 Using freeze-transaction-service
% asadmin freeze-transaction-service
Command freeze-transaction-service executed successfully
Exit Status
command executed successfully
error in executing the command
See Also
"Administering Transactions" in GlassFish Server Open Source Edition Administration Guide
"http://docs.oracle.com/javaee/7/tutorial/doc/transactions.html[Transactions]" in The Java EE 8 Tutorial
Previous | Next | Contents |
DRAFT