スクリプトを使用して、サーバーのトランザクション・プロパティーを構成します。
以下のステップを実行して、 アプリケーション・サーバーのランタイム・トランザクション・プロパティーを構成します。
set ts [$AdminControl completeObjectName cell=mycell,node=mynode,process=server1,type=TransactionService,*]
ts = AdminControl.completeObjectName('cell=mycell,node=mynode,process=server1,type=TransactionService,*') print ts
WebSphere:cell=mycell,name=TransactionService,mbeanIdentifier=TransactionService,type=TransactionService,node=mynode,process=server1
Jacl を使用:
$AdminControl setAttributes $ts {{clientInactivityTimeout 30} {totalTranLifetimeTimeout 180}}
Jython を使用:
AdminControl.setAttributes(ts, [['clientInactivityTimeout', 30], ['totalTranLifetimeTimeout', 180]])