Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Transaction Scope
- Next: Transaction Logging

# Configuring the Transaction Service

You can configure the transaction service in the Application Server in the following ways:

- To configure the transaction service using the Administration Console, open the Transaction Service component under the relevant configuration. For details, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide.

- 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

  You can use the `asadmin get` command to list all the transaction service attributes and properties. For details, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Reference Manual.

- Previous: Transaction Scope
- Next: Transaction Logging

- © 2010, Oracle Corporation and/or its affiliates