在jolokia中无法执行任何命令,总是找不到签名。例如,根据文件,这应该有效:
POST request
{
"type":"EXEC",
"mbean":"java.lang:type=Threading",
"operation":"dumpAllThreads",
"arguments":[true,true]
}
但我有:
IllegalArgumentException: Operation dumpAllThreads on MBean java.lang:type=Threading is overloaded. Signatures found: (boolean,boolean),(boolean,boolean,int). Use a signature when specifying the operation
有什么想法吗?Java 11.0.6 2020-01-14 LTS。感谢
这个对我有效
POST request
{
"type":"EXEC",
"mbean":"java.lang:type=Threading",
"operation":"dumpAllThreads(boolean,boolean)",
"arguments":[true,true]
}