【发布时间】:2016-02-17 18:54:36
【问题描述】:
是否有任何 jython 脚本可用于在 WebSphere 中安装的应用程序的 Last Participant Support Extension 设置下设置 Accept Heuristic Hazard 属性?
【问题讨论】:
-
伙计,我恢复了你的声誉;我讨厌有人在没有任何解释的情况下拒绝一个合理的问题。
是否有任何 jython 脚本可用于在 WebSphere 中安装的应用程序的 Last Participant Support Extension 设置下设置 Accept Heuristic Hazard 属性?
【问题讨论】:
这是一篇文章的链接,该文章描述了如何为特定应用程序设置它,这就是您所询问的,
或者,要在事务服务上设置它,可以使用以下,
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]
【讨论】: