Configuring the runtime transaction service using scripting
Use the wsadmin tool to configure transaction properties for servers. The transaction service is a server runtime component that coordinates updates to multiple resource managers to ensure atomic updates of data. Transactions are started and ended by applications or the container in which the applications are deployed.
About this task
There are two ways to perform this task. Use the steps in this task to use the AdminControl object to modify your transaction service configuration. Alternatively, you can use the configureTransactionService Jython script in the AdminServerManagement script library to configure the transaction service configuration attributes. You can use the configureRuntimeTransactionService to update the transaction service MBean attributes. The wsadmin tool automatically loads the scripts when the tool starts.
AdminServerManagement.configureTransactionService(nodeName, serverName, totalTranLifetimeTimeout, clientInactivityTimeout,
maximumTransactionTimeout, heuristicRetryLimit, heuristicRetryWait, propogatedOrBMTTranLifetimeTimeout, asyncResponseTimeout,
otherAttributeList)
AdminServerManagement.configureRuntimeTransactionService(nodeName, serverName, totalTranLifetimeTimeout,
clientInactivityTimeout)
For additional information and argument definitions, see the documentation for the AdminServerMananagment script library.