最后一位参与者支持扩展websphere

时间:2016-02-17 18:54:37

标签: websphere jython

是否有任何jython脚本可用于在WebSphere中安装的应用程序的Last Participant Support Extension设置下设置Accept Heuristic Hazard属性?

1 个答案:

答案 0 :(得分:1)

以下是一篇文章的链接,该文章描述了如何为特定应用程序设置它,这就是您所询问的内容,

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014090728

或者,要在事务服务上设置它,可以使用以下内容,

wsadmin>transactionService = AdminConfig.list('TransactionService')
wsadmin>AdminConfig.modify(transactionService, [['acceptHeuristicHazard', 'true']])
''
wsadmin>print AdminConfig.show(transactionService)
[LPSHeuristicCompletion ROLLBACK]
[WSTransactionSpecificationLevel WSTX_10]
[acceptHeuristicHazard true]
[asyncResponseTimeout 30]
[clientInactivityTimeout 60]
[context (cells/Node01Cell/nodes/Node01/servers/server1|server.xml#ApplicationServer_1183122130078)]
[enable true]
[enableFileLocking true]
[enableLoggingForHeuristicReporting false]
[enableProtocolSecurity true]
[heuristicRetryLimit 0]
[heuristicRetryWait 0]
[httpProxyPrefix []]
[httpsProxyPrefix []]
[maximumTransactionTimeout 0]
[properties []]
[propogatedOrBMTTranLifetimeTimeout 300]
[totalTranLifetimeTimeout 120]
[waitForCommitOutcome false]
[wstxURLPrefixSpecified false]