有人能帮我解决下面关于JConsole & Websphere&7的问题吗?我正试着用JConsole连接Websphere 7。然而,JConsole无法连接到Websphere 7。
我做了以下更改- 1) JVM com.sun.management.jmxremote.authenticate=false management.properties 2)在JVM泛型参数中设置文件路径。
致敬,SR
发布于 2011-02-19 13:49:30
如果你想要WebSphere MBeans,我可以这样做:
关键是正确配置类路径和安全性。
在一行代码中:
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”service:jmx:iiop://host:port/jndi/JMXConnector
其中port =引导端口ex:(2809)
设置sas和ssl属性时要小心。
罗伯特
发布于 2011-02-03 23:35:40
另一个问题中的答案对我很有效:How do you enable JMX in Websphere?
但是,这只允许访问Platform MBeans,而不允许访问WebSphere MBeans。
https://stackoverflow.com/questions/4370113
复制相似问题