Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- rolls back the named transaction
rollback-transaction [--help] [--target target] transaction_id
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 set subcommand. For example:
asadmin> set clstr1-config.monitoring-service.module-monitoring-levels.transaction-service=HIGH
Use the freeze-transaction-service subcommand to halt in-process transactions.
Look up the active transactions using the get subcommand with the --monitor option. For example:
asadmin> get --monitor inst1.server.transaction-service.activeids-current
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
This option specifies the target on which you are rolling back the transactions. Valid values are server or any other clustered or stand-alone instance.
Identifier for the transaction to be rolled back.
Example 1 Using rollback-transaction command
% asadmin rollback-transaction 0000000000000001_00 Command rollback-transaction executed succeessfully
command executed successfully
error in executing the command
freeze-transaction-service(1), unfreeze-transaction-service(1), recover-transactions(1)
Chapter 19, Administering Transactions, in Oracle GlassFish Server 3.1 Administration Guide