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.

In the tree component, select the Configurations node.

If you are
running a non-clustered domain in developer profile, skip to the next step.
If you are running the domain in cluster profile, select the instance to configure:

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

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

Select the Transaction Service node.

Enter 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.