All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-configtransservice.html Maven / Gradle / Ivy

The newest version!



To Configure the Transaction Service

  1. In the navigation tree, expand the Configuration node.
  2. 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.

    The Transaction Service page opens.

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

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

  6. 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).

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

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

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

  10. (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.
  11. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


  12. Restart the GlassFish Server.

See Also

Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy