This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Liberty: Configuring the startup of the transaction service

Database transaction recovery can occur either when the transaction service is first used, or at server startup.

About this task

By default, transaction recovery after a server failure happens when the transaction service is first used rather than at server startup. You can alter this behavior by specifying transaction service attributes that control when recovery happens, and whether the system waits for recovery to finish before allowing transactional work to proceed.

Procedure

To configure transaction service startup, specify the following attributes in the transaction element in the server.xml file:

Example

With the following transaction element configuration, transaction recovery occurs at server startup, and the server waits for transaction recovery to finish before allowing transactional work to proceed.

  <transaction
    recoverOnStartup="true"
    waitForRecovery="true"
  />

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_config_ts_startup
File name: twlp_config_ts_startup.html