ActiveMQ console not available

前端 未结 2 1995
粉色の甜心
粉色の甜心 2020-12-11 21:53

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.

Then I installed ActiveMQ (same vers

相关标签:
2条回答
  • 2020-12-11 22:30

    I used this approach on a linux server running in VM but can be applied to any instance Check whether 8161 port is opened for external connection. Also check whether another service creating a conflict. If there is a conflict change the jetty port in the {activemqfolder}/conf/jetty.xml. locate the line that contains the 8161 and change it to the desirable port

    To enable external connections to the port (in this instance i choose 8169) use

    sudo iptables -I INPUT -p tcp --dport 8169 -j ACCEPT
    

    Proceed to start the activemq ie {activemqfolder}/bin/activemq console to see the messages

    0 讨论(0)
  • 2020-12-11 22:33

    In your ActiveMQ config file you should see something like:

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

    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
    
    0 讨论(0)
提交回复
热议问题