Cannot send messages from web console

Solution Unverified - Updated -

Issue

Trying to use the Fuse MQ web console to send messages to a particular destination results in

javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61617. 
Reason: java.net.ConnectException: Connection refused
    at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
    at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:293)
    at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:191)
    at org.apache.activemq.web.WebClient.getConnection(WebClient.java:267)
    at org.apache.activemq.web.WebClient.createSession(WebClient.java:372)
    at org.apache.activemq.web.WebClient.getSession(WebClient.java:259)
    at org.apache.activemq.web.controller.SendMessage.createMessage(SendMessage.java:172)
    at org.apache.activemq.web.controller.SendMessage.sendMessages(SendMessage.java:71)
    at org.apache.activemq.web.controller.SendMessage.handleRequest(SendMessage.java:56)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)

Environment

  • Fuse Message Broker 5.x
  • Fuse MQ Enterprise 7.x
  • JBoss Fuse MQ 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content