org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.jms.config.internalJmsListenerEndpointRegistry'; nested exception is org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect

Stack Overflow | Aliyu Fonyuy | 4 months ago
  1. 0

    How to configure embedded ActiveMQ Broker URL with Spring Boot

    Stack Overflow | 4 months ago | Aliyu Fonyuy
    org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.jms.config.internalJmsListenerEndpointRegistry'; nested exception is org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect
  2. 0

    ActiveMQ - User - java.net.ConnectException: Connection refused: connect, while running performance test on AMQ 5.2/5.3

    nabble.com | 11 months ago
    java.lang.RuntimeException: javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect
  3. 0

    Hello World Spring Jmstemplate Example

    technicalkeeda.com | 2 months ago
    org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    New to GraniteDS

    Google Groups | 6 years ago | Pierre
    java.lang.RuntimeException: JMSAdapter invoke error on topic message flex.messaging.messages.CommandMessage { messageRefType: null operation: SUBSCRIBE correlationId = destination = messaging-service headers = {DSDstClientId=E13BF80B-06AD-47E0-8CCE-E203F3DF10D3, DSSubtopic=4, DSEndpoint=my-gravityamf} messageId = 0E55F99D-5BAC-93C8-543A-78B9FA31F663 timestamp = 1286220674034 clientId = 186220BF-67C6-46D4-9754-0BB2B0B1AC7D timeToLive = 0 body = {} }
  6. 0

    ActiveMQ - Dev - Not able to start connection with ActiveMQ broker from a network client.

    nabble.com | 11 months ago
    javax.jms.JMSException: Could not connect to broker URL: tcp://rpc1044.daytonoh.ncr.com:61616?trace=true. Reason: java.net.ConnectException: Connection refused: connect

  1. kjhdofjosvs 20 times, last 1 week ago
  2. treefolk 1 times, last 1 week ago
  3. Andreas Häber 9 times, last 2 weeks ago
  4. Aria Pahlavan 2 times, last 2 weeks ago
  5. stigkj 10 times, last 2 weeks ago
44 more registered users
51 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)[na:1.8.0_92]
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)[na:1.8.0_92]
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[na:1.8.0_92]
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_92]
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_92]
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)[na:1.8.0_92]
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_92]
    8. java.net.Socket.connect(Socket.java:589)[na:1.8.0_92]
    8 frames
  3. ActiveMQ :: Core
    TcpTransport.doStart
    1. org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:525)[activemq-client-5.13.4.jar:5.13.4]
    2. org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:488)[activemq-client-5.13.4.jar:5.13.4]
    2 frames
  4. ActiveMQ :: Broker
    ServiceSupport.start
    1. org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)[activemq-client-5.13.4.jar:5.13.4]
    1 frame
  5. AMQ HTTP
    TransportFilter.start
    1. org.apache.activemq.transport.AbstractInactivityMonitor.start(AbstractInactivityMonitor.java:168)[activemq-client-5.13.4.jar:5.13.4]
    2. org.apache.activemq.transport.InactivityMonitor.start(InactivityMonitor.java:52)[activemq-client-5.13.4.jar:5.13.4]
    3. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.13.4.jar:5.13.4]
    4. org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)[activemq-client-5.13.4.jar:5.13.4]
    5. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.13.4.jar:5.13.4]
    6. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.13.4.jar:5.13.4]
    6 frames
  6. ActiveMQ :: Core
    ActiveMQConnectionFactory.createConnection
    1. org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:353)[activemq-client-5.13.4.jar:5.13.4]
    2. org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:303)[activemq-client-5.13.4.jar:5.13.4]
    3. org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:243)[activemq-client-5.13.4.jar:5.13.4]
    3 frames
  7. Spring Framework
    JmsListenerEndpointRegistry.start
    1. org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:413)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.jms.listener.AbstractJmsListeningContainer.establishSharedConnection(AbstractJmsListeningContainer.java:381)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.jms.listener.AbstractJmsListeningContainer.doStart(AbstractJmsListeningContainer.java:285)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.jms.listener.SimpleMessageListenerContainer.doStart(SimpleMessageListenerContainer.java:210)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6. org.springframework.jms.listener.AbstractJmsListeningContainer.start(AbstractJmsListeningContainer.java:270)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    7. org.springframework.jms.config.JmsListenerEndpointRegistry.startIfNecessary(JmsListenerEndpointRegistry.java:243)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    8. org.springframework.jms.config.JmsListenerEndpointRegistry.start(JmsListenerEndpointRegistry.java:206)[spring-jms-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    8 frames
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:874)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    7. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    7 frames
  9. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    2. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    5 frames
  10. jms.activemq
    Application.main
    1. jms.activemq.Application.main(Application.java:37)[main/:na]
    1 frame