en.help.task-configtransservice.html Maven / Gradle / Ivy
Show all versions of console-jts-plugin-help
To Configure the Transaction Service
- In the navigation tree, expand the Configuration node.
- 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.
The Transaction Service page opens.
- On the Transaction Service page, select the On Restart Enabled checkbox to enable
the recovery of incomplete transactions when the server is restarted.
This option is disabled by default.
- In the Transaction Timeout field, type the number of seconds the server waits
before rolling back a transaction that has not completed.
A value of 0 disables transaction timeouts. The default value is 0, meaning
that the server waits indefinitely for a transaction to complete.
- In the Retry Timeout field, type the number of seconds the GlassFish Server
tries to connect to an unreachable server.
The default value is 600 (10 minutes).
- In the Transaction Log Location field, type the directory where server logs are
kept.
Transaction logs are kept in the tx subdirectory of the directory specified by this
field. The default value is the directory specified by the Log Root field
of the Domain Attributes page, which is located under the Advanced tab of
the GlassFish Server node.
- From the Heuristic Decision drop-down list, select the policy to be followed if
the outcome of a distributed transaction cannot be determined because other participants are
unreachable.
Unless there is a good reason to select Commit, leave Heuristic Decision set
to Rollback (the default). Committing indeterminate transactions can compromise the data integrity of
your application.
- In the Keypoint Interval field, type the number of transactions between keypoint operations.
Keypoint operations compress the transaction log file. The default value is 65,536.
- (Optional) In the Additional Properties section, specify additional properties.
For a description of available properties, see Properties Specific to the Transaction Service.
- To add a property, click the Add Property button. In the blank row
that appears, type the property name in the Name field, and type the
property value in the Value field.
- To modify a property, edit that property's Value field.
- To delete a property, select the checkbox to the left of the Name
field of the property that you are deleting, then click the Delete Properties
button.
- Click Save.
Tip - To return to the default settings, click the Load Defaults button, then click
Save.
- Restart the GlassFish Server.
See Also
-
-
-
-
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices