rollback-transaction
rollback-transaction
Rolls back the named transaction
Description
The rollback-transaction subcommand rolls back the named transaction.
Before you can roll back a transaction, you must do the following:
-
Enable monitoring using the
setsubcommand. For example:asadmin> set clstr1-config.monitoring-service.module-monitoring-levels.transaction-service=HIGH -
Use the
freeze-transaction-servicesubcommand to halt in-process transactions. -
Look up the active transactions using the
getsubcommand with the--monitoroption. For example:asadmin> get --monitor inst1.server.transaction-service.activeids-current
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadmin(1M) help page. --help-?-
Displays the help text for the subcommand.
--target-
This option specifies the target on which you are rolling back the transactions. Valid values are
serveror any other clustered or stand-alone instance.
See Also
"Administering Transactions" in Eclipse GlassFish Administration Guide
"Transactions" in The Jakarta EE Tutorial