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.

    set ts [$AdminControl completeObjectName cell=cellname,node=nodename,process=servername,type=TransactionService,*]
    
    This command returns the transaction service MBean for servername

    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:

    $AdminControl invoke $ts {{transactionLogDirectory c:/WebSphere/AppServer/tranlog/servername} {clientInactivityTimeout 30} {totalTranLifetimeTimeout 180}}
    
    The clientInactivityTimeout is in seconds. The totalTranLifetimeTimeout is in milliseconds. A value of 0 in either attribute means no timeout limit.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.