如何在Weblogic 10.x上启用JMX

Ecl*_*uru 6 jmx weblogic

我有一个启用了JMX的应用程序.它有自己的JMX代理和一些MBean.当我在WebLogic中启动应用程序时,我能够通过RMI URL连接到JMX代理,并通过" JConsole " 在MBean上执行操作.

但是当我进入Weblogic控制台时,我看不到任何JMX控制台!如何在Weblogic中启用JMX控制台?

Kri*_*zsa 9

将以下JVM参数添加到Weblogic启动脚本中:

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
Run Code Online (Sandbox Code Playgroud)

并重新启动服务器.您将能够通过主机:8888通过JConsole/VisualVM /等远程连接.


小智 3

希望这有帮助,请参考此网址 -> http://forums.oracle.com/forums/thread.jspa?messageID=3570887