2010-12-06 91 views
0

有人可以帮我解决以下问题与JConsole & Websphere 我试图用JConsole连接到Websphere 7。然而JConsole的无法连接到WebSphere 7连接websphere 7使用JConsole

我做了以下变化 - 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

+0

您运行的是哪个JVM版本/供应商?您是在远程计算机上运行JConsole还是在Websphere 7服务器上本地运行?您是否能够确认使用lsof或netstat打开远程管理端口? – 2011-01-21 04:19:53

回答

1

如果您希望WebSphere的MBean这个工作对我来说:

,关键是配置类路径和安全正常。

在一行

JConsole的-J-Dwas.install.root = C:/ WAS61 -J-Djava.ext.dirs = C:/ WAS61 /插件; C:/ WAS61 /插件/ 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“service:jmx:iiop:// host:port/jndi/JMXConnector的

其中port =引导端口例如:(2809)

设置SAS和SSL道具时要小心。

Robert