The following example configures the run-time transaction properties for an application server.
Using Jacl:
set ts [$AdminControl completeObjectName cell=mycell,node=mynode,process=server1,type=TransactionService,*]This command returns the transaction service MBean for server1.
Example output:
WebSphere:cell=mycell,name=TransactionService,mbeanIdentifier=TransactionService,type=TransactionService,node=mynode,process=server1
Using Jacl:
$AdminControl setAttributes $ts {{clientInactivityTimeout 30} {totalTranLifetimeTimeout 180}}The clientInactivityTimeout is in seconds. The totalTranLifetimeTimeout is in seconds. A value of 0 in either attribute means no timeout limit.