Sun GlassFish Enterprise Server 2.1 Administration Guide

ProcedureTo set a transaction timeout value

By default, the server does not timeout a transaction. That is, the server waits indefinitely for a transaction to complete. If you set a timeout value for transactions, if a transaction isn’t completed within the configured time, the Enterprise Server rolls back the transaction.

  1. In the tree component, select the Configurations node.

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

  3. Select the Transaction Service node.

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

  5. Click Save.

  6. Restart the Enterprise Server.