You can configure the transaction service in the Enterprise Server in the following ways:
To configure the transaction service using the Admin Console, open the Transaction Service component under the relevant configuration. For details, click the Help button in the Admin Console.
To configure the transaction service, use the asadmin set command to set the following attributes.
server.transaction-service.automatic-recovery = false server.transaction-service.heuristic-decision = rollback server.transaction-service.keypoint-interval = 2048 server.transaction-service.retry-timeout-in-seconds = 600 server.transaction-service.timeout-in-seconds = 0 server.transaction-service.tx-log-dir = domain-dir/logs
You can also set these properties:
server.transaction-service.property.oracle-xa-recovery-workaround = false server.transaction-service.property.disable-distributed-transaction-logging = false server.transaction-service.property.xaresource-txn-timeout = 600 server.transaction-service.property.pending-txn-cleanup-interval = 60 server.transaction-service.property.use-last-agent-optimization = true server.transaction-service.property.db-logging-resource = jdbc/TxnDS server.transaction-service.property.delegated-recovery = false server.transaction-service.property.wait-time-before-recovery-insec = 60 server.transaction-service.property.xa-servername = myserver
You can use the asadmin get command to list all the transaction service attributes and properties. For details, see the Sun GlassFish Enterprise Server 2.1 Reference Manual.