Websphere Jython配置挂起检测策略

Websphere Jython配置挂起检测策略,websphere,jython,websphere-8,wsadmin,Websphere,Jython,Websphere 8,Wsadmin,我想为WebSphereApplicationServer创建一个dockerfile,通过Jython脚本配置挂起检测策略 我试着: AdminServerManagement.configureCustomProperty('DefaultNode01', 'server1', 'Administration', 'com.ibm.websphere.threadmonitor.interval', '600'); 但失败并出现错误: ADMG0007E: The configuratio

我想为WebSphereApplicationServer创建一个dockerfile,通过Jython脚本配置挂起检测策略

我试着:

AdminServerManagement.configureCustomProperty('DefaultNode01', 'server1', 'Administration', 'com.ibm.websphere.threadmonitor.interval', '600');
但失败并出现错误:

ADMG0007E: The configuration data type Administration is not valid.

但是,中只提供了UI步骤。有人知道如何通过编写脚本来执行此操作吗?

谢谢@covener,父类型“服务器”可以工作

wsadmin> AdminServerManagement.configureCustomProperty('DefaultNode01', 'server1', 'Server','com.ibm.websphere.threadmonitor.interval', '600');
---------------------------------------------------------------
 AdminServerManagement:  Configuring custom Property
 nodeName:               DefaultNode01
 serverName:             server1
 parentType:             Server
 propertyName:           com.ibm.websphere.threadmonitor.interval
 propertyValue:          600
 Optional Attributes:
     otherAttributeList  []
 Usage: AdminServerManagement.configureCustomProperty("DefaultNode01", "server1", "Server", "com.ibm.websphere.threadmonitor.interval", "600")
 Return: If the command is successful, a value of 1 is returned.
---------------------------------------------------------------

[description "The frequency, in seconds, at which managed threads in the selected application serv-er will be interrogated."]
[name com.ibm.websphere.threadmonitor.interval]
[required false]
[value 600]
第三个参数(parentType)应仅为“服务器”