apache active mq |由于jmx错误,无法运行查询命令

时间:2018-11-21 09:51:16

标签: activemq jmx

执行“查询”命令时,出现以下错误:

Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
ERROR: java.lang.RuntimeException: Failed to execute query task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.Connec                          tException: Connection refused to host: localhost; nested exception is:
        java.net.ConnectException: Connection refused]
java.lang.RuntimeException: Failed to execute query task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
        java.net.ConnectException: Connection refused]

Apachemq本身运行良好。只是这个查询命令由于我无法理解的原因而失败。

奇怪的是,在其他运行类似设置/配置的计算机上,但在这些计算机上没有此类问题。

0 个答案:

没有答案