Edit Transaction Service Properties

Use this page to edit Java Transaction Services properties.

The following table describes the fields and buttons on the screen. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

Monitoring Enabled

Check this box to enable monitoring of transactions for this server instance. For more information on monitoring, please see the chapter on Monitoring in the Sun Java System Application Server Administrator's Guide.

Log Level

The default log level is the instance-wide log level as specified in the log-service element of server.dtd (or the server instance's Logging tab) which can be set to any value. The system wide default is typically set to INFO.

Recover on Restart

Determines whether the transaction service should automatically attempt to complete any possibly incomplete transactions that are found in the transaction log when the service starts.

Transaction Timeout (secs)

Specify the transaction timeout interval. If a resource involved in the transaction does not respond within the specified time, the transaction will be rolled back. If the value set for this attribute is 0, the transaction does not time out.

Transaction Log Location

By default logs for the transactions in flight are kept in the <instance_dir>/logs/tx/ directory. However, you can specify a different directory where the log file will be stored.

Heuristic Decision

Specify how the Transaction Service should determine the outcome of a transaction during recovery if the outcome cannot be determined. You can select either Commit or Rollback. The default value is Rollback which is the safest option. In some cases, it may be appropriate to commit such transactions during recovery.

Keypoint Interval (transactions)

Keypoint operations reduce the size of the transaction log file by removing entries for completed transactions and compressing the file. This interval specifies the number of transactions between keypoint operations in the log. A larger value for this attribute results in a larger transaction log file, but fewer keypoint operations mean a potentially better performance. A smaller value results in smaller log files, but slightly reduced performance due to the greater frequency of keypoint operations.

Properties

Click the Properties button to access existing, or create new properties for the Transaction Service.


Legal Notices
Copyright © 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.