本文介绍了Websphere7.X. JMX,如何在JConsole中启用所有操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开JConsole(使用配置的.bat文件)时,在 AppManagement Mbean节点中,我看到了很多操作.但是大多数功能都是禁用的,仅启用一项-"MoveModule"操作.如何在 AppManagement Mbean节点下启用所有JMX操作(如安装应用程序",重新部署,卸载等)?

When I open JConsole (using confugured .bat file), inside AppManagement Mbean node I see many operations. But most of them are disabled, enabled only one - "MoveModule" operation.. How to enable all JMX operations under AppManagement Mbean node (like "Install application", redeploy, uninstall etc)?

谢谢.

推荐答案

这是不可能的. JConsole允许调用仅具有简单类型参数的方法.其中包括原始类型,原始类型的包装器类和字符串.带有其他类型参数的方法不能被调用,因为JConsole不知道如何构造这些类型的实例.

That is not possible. JConsole allows to invoke methods that only have parameters with simple types. That includes primitive types, wrapper classes for primitive types and strings. Methods that have parameters with other types cannot be invoked because JConsole doesn't know how to construct instances of these types.

这篇关于Websphere7.X. JMX,如何在JConsole中启用所有操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 14:32