Admin Console Tasks for Transactions

2Select the instance to configure:

To configure a particular instance, select the instance’s config node. For example, the default instance, server, select the server-confignode.

To configure the default settings for all instances, select the default-confignode.

3Select the Transaction Service node.

4Enter the number of seconds before the transaction times out, in the Transaction Timeout field.

The default value of Transaction Timeout is 0 seconds. This disables transaction timeouts.

5Click Save.

6Restart the Enterprise Server.

To set the location of the transaction logs

The transaction log records the information about each transaction in order to maintain the data integrity of the resources involved and to recover from failures. Transaction logs are kept in the tx subdirectory of the directory specified by the Transaction Log Location field. These logs are not human readable.

1In the tree component, select the Configurations node.

2Select the instance to configure:

To configure a particular instance, select the instance’s config node. For example, the default instance, server, select the server-confignode.

To configure the default settings for all instances, select the default-confignode.

3Select the Transaction Service node.

4Enter the location of the transaction logs in the Transaction Log Location field.

A tx subdirectory is created and transaction logs are kept under that directory.

The default value is ${com.sun.aas.instanceRoot}/logs. The

${com.sun.aas.instanceRoot} variable is the name of the instance, and is set when you start an Enterprise Server instance. To see the value of ${com.sun.aas.instanceRoot}, click Actual Values.

5Click Save.

Chapter 12 • Transactions

147

Page 147
Image 147
Sun Microsystems 820433510 manual To set the location of the transaction logs