To modify the TransactionService of a server perform the following steps:
Using Jython:
- serid = AdminConfig.getid('/Server:server1')
- trid = AdminConfig.list('TransactionService',serid)
- AdminConfig.modify(trid,[['clientInactivityTimeout', '100'], ['totalTranLifetimeTimeout', '200']])
Using Jacl:
- set serid [$AdminConfig getid /Server:server1/]
- set trid [$AdminConfig list TransactionService $serid]
- set attr [list {clientInactivityTimeout 100} {totalTranLifetimeTimeout 200}]
- $AdminConfig modify $trid $attr
No comments:
Post a Comment