Friday, June 24, 2016

Enable/Disable Heuristic Hazard

> We can enable this parameter within an app as well as within the AppServer. Since, the change generated a different file with Random IDs. So, we cant have jython to change this within the Application.

Set acceptHeuristicHazard to true:

server = AdminConfig.getid('/Cell:node01/Node:node01/Server:server1/')
transactionService=AdminConfig.list("TransactionService", server)
AdminConfig.modify(transactionService, '[[acceptHeuristicHazard "true"]]')
AdminConfig.save()


Set acceptHeuristicHazard to false:

server = AdminConfig.getid('/Cell:node01/Node:node01/Server:server1/')
transactionService=AdminConfig.list("TransactionService", server)
AdminConfig.modify(transactionService, '[[acceptHeuristicHazard "false"]]')
AdminConfig.save()

No comments:

Post a Comment