Configure transaction properties for a server
The following example configures the run-time transaction properties for an appserver.
- Identify the transaction service MBean for the appserver.
This command returns the transaction service MBean for servernameset ts [$AdminControl completeObjectName cell=cellname,node=nodename,process=servername,type=TransactionService,*]Example output:
WebSphere:cell=cellname,name=TransactionService,mbeanIdentifier=TransactionService,type=TransactionService,node=nodename,process=servername- Modify the attributes. The following example is for the Windows operating system:
The clientInactivityTimeout is in seconds. The totalTranLifetimeTimeout is in milliseconds. A value of 0 in either attribute means no timeout limit.$AdminControl invoke $ts {{transactionLogDirectory c:/WebSphere/AppServer/tranlog/servername} {clientInactivityTimeout 30} {totalTranLifetimeTimeout 180}}
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.