Sun GlassFish Enterprise Server v2.1.1 Developer's Guide

Distributed Transaction Recovery


Note –

Some topics in the documentation pertain to features that are available only in domains that are configured to support clusters. Examples of domains that support clusters are domains that are created with the cluster profile or the enterprise profile. For information about profiles, see Usage Profiles in Sun GlassFish Enterprise Server v2.1.1 Administration Guide.


To enable cluster-wide automatic recovery, you must first facilitate storing of transaction logs in a shared file system. You can do this in one of these ways:

Next, you must set the transaction service's delegated-recovery property to true (the default is false).

For information about setting tx-log-dir and delegated-recovery, see Configuring the Transaction Service. For information about setting log-root and other general logging settings, see Chapter 17, Configuring Logging, in Sun GlassFish Enterprise Server v2.1.1 Administration Guide. For information about system-property and the domain.xml file, see the Sun GlassFish Enterprise Server v2.1.1 Administration Reference.