ActiveMQ控制台不可用 [英] ActiveMQ console not available

查看:715
本文介绍了ActiveMQ控制台不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows计算机上安装了ActiveMQ 5.5.0,它的Web控制台(http:// localhost:8161 / admin)开箱即可使用。

I installed ActiveMQ 5.5.0 on my Windows machine, and it had a web console (http://localhost:8161/admin) working out of the box.

然后我在远程Linux机器(IP:AAA.BBB.CCC.DDD)上安装了ActiveMQ(相同版本),但是每当我将浏览器指向

Then I installed ActiveMQ (same version) on a remote Linux box (IP: AAA.BBB.CCC.DDD), but whenever I point the browser to

< a href = http://AAA.BBB.CCC.DDD:8161 / admin rel = nofollow> http://AAA.BBB.CCC.DDD:8161 / admin

我在浏览器中收到无法连接错误。

I get the "Unable to connect" error in the browser.

存在网络连接,我可以连接到AAA。 BBB.CCC.DDD通过ssh传输到同一服务器上运行的另一个Web应用程序。

The network connection is there, I can connect to AAA.BBB.CCC.DDD via ssh and to another web application running on the same server.

因此,我认为问题的原因是嵌入式Jetty服务器的配置错误

Therefore I think that the cause of the problem is wrong configuration of the embedded Jetty server of ActiveMQ.

如何解决问题,即e。是否可以通过远程浏览器访问Web控制台?

How can fix the problem, i. e. enable the access to the web console from a remote browser?

推荐答案

在ActiveMQ配置文件中,您应该看到类似以下内容的

In your ActiveMQ config file you should see something like:

<import resource="${activemq.base}/conf/jetty.xml"/>

这将通过Web控制台启动嵌入式Jetty容器。

This starts up an embedded Jetty container with the web console.

如果在控制台上启动代理,那么如果一切正常,您应该看到以下内容

If you start the broker on the console, you should see the following if everything works

 INFO | ActiveMQ WebConsole initialized.
 INFO | Initializing Spring FrameworkServlet 'dispatcher'
 INFO | ActiveMQ Console at http://0.0.0.0:8161/admin

这篇关于ActiveMQ控制台不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆