1 Reply Latest reply on Mar 14, 2018 3:50 AM by lemoon

    HornetQ JBoss - message=HQ119007: Cannot connect to server(s)

    lemoon

      Hi!

       

      I am trying to configure JBoss HornetQ to receive messages, into a VM.

      I create a user with guest role to test it.

       

      I configured standalone.xml in my VM:

                  <hornetq-server>

       

                      <connectors>

                          <http-connector name="http-connector" socket-binding="http">

                          <http-connector name="http-connector-throughput" socket-binding="http">

                          <in-vm-connector name="in-vm" server-id="0"/>

                      </connectors>

       

                      <acceptors>

                          <http-acceptor http-listener="default" name="http-acceptor"/>

                          <http-acceptor http-listener="default" name="http-acceptor-throughput">

                          <in-vm-acceptor name="in-vm" server-id="0"/>

                      </acceptors>

       

                      <jms-connection-factories>

                          <connection-factory name="ConnectionFactory">

                              <connectors>

                                  <connector-ref connector-name="http-connector"/>

                              </connectors>

                              <entries>

                                  <entry name="java:jboss/exported/jms/ConnectionFactory"/>

                              </entries>

                          </connection-factory>

                      </jms-connection-factories>

       

      I tried to connect from a remote, and it fails.

      I used

           http-remoting;//ip:port

      Error code:

      Caused by: HornetQNotConnectedException[errorType=NOT_CONNECTED message=HQ119007: Cannot connect to server(s). Tried with all available servers.]

       

      Thank you!