我有一个启用了JMX的应用程序.它有自己的JMX代理和一些MBean.当我在WebLogic中启动应用程序时,我能够通过RMI URL连接到JMX代理,并通过" JConsole " 在MBean上执行操作.
但是当我进入Weblogic控制台时,我看不到任何JMX控制台!如何在Weblogic中启用JMX控制台?
将以下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 /等远程连接.
| 归档时间: |
|
| 查看次数: |
39749 次 |
| 最近记录: |