【问题标题】:Connecting websphere 7 Using JConsole使用 JConsole 连接 websphere 7
【发布时间】:2010-12-06 19:23:29
【问题描述】:

有人可以帮我解决 JConsole & Websphere&7 的以下问题吗 我试图使用 JConsole 连接到 Websphere 7。但是 JConsole 无法连接到 Websphere 7。

我做了以下更改 - 1) management.properties com.sun.management.jmxremote.port=9999 com.sun.management.jmxremote.authenticate=false com.sun.management.jmxremote.ssl=false 2) 在 JVM 通用参数中设置 management.properties 文件路径。

问候, SR

【问题讨论】:

  • 您运行的是什么 JVM 版本/供应商?您是在远程机器上运行 JConsole,还是在 Websphere 7 服务器上本地运行?您是否能够使用 lsof 或 netstat 确认远程管理端口已打开?

标签: jconsole


【解决方案1】:

如果你想要 WebSphere MBean,这个对我有用:

关键是正确配置类路径和安全性。

一行:

jconsole -J-Dwas.install.root=C:/was61 -J-Djava.ext.dirs=C:/was61/plugins;C:/was61/plugins/com.ibm.ws.security.crypto_6。 1.0;C:/was61/lib;C:/was61/java/jre/lib/ext -J-Dcom.ibm.SSL.ConfigURL="file:../../properties/ssl.client.props" - J-Dcom.ibm.CORBA.ConfigURL="file:../../properties/sas.client.props" 服务:jmx:iiop://host:port/jndi/JMXConnector

其中端口 = 引导端口前:(2809)

设置 sas 和 ssl 属性时要小心。

罗伯特

【讨论】:

    【解决方案2】:

    另一个问题中的这个答案对我有用:How do you enable JMX in Websphere?

    但是,这只允许访问平台 MBean,而不是 WebSphere MBean。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-16
      • 1970-01-01
      • 1970-01-01
      • 2012-04-16
      • 2012-11-17
      • 2017-01-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多