HornetQ消息在JBoss中运行。在远程VM中,我们无法使用JMXURL进行连接。
HornetQ设置(hornet1 configuration.xml):
<jmx-management-enabled>true</jmx-management-enabled>JBoss设置
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=3000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.ssl=false
在远程JVM中,这些URL都不起作用:
发布于 2013-08-05 19:05:04
至于JBoss 6.0.0
J控制台service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
很管用。如果您将localhost替换为您的主机地址,它也会正常工作。
注意,我启动JBoss时使用了
run.sh -c -主机=0.0.0.0
因此,JBoss绑定到所有接口/地址(而不只是本地主机):
-主机=主机或ip.绑定所有JBoss服务的地址
https://stackoverflow.com/questions/18063871
复制相似问题