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

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

The newest version!



To Set a Transaction Timeout Value

By default, the server does not time out 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 GlassFish Server rolls back the transaction.

  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. In the Transaction Timeout field, type the number of seconds before the transaction times out.

    The default value is 0. This value disables transaction timeouts.

  5. Click Save.
  6. 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