activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkcse <>
Subject ActiveMQ Connection failed when network failed
Date Wed, 05 Feb 2014 09:45:55 GMT

I am using ActiveMQ 5.8. I have consumer app which is running on one server1
and the ActiveMQ is running on another server2 now what happen is because of
some network problem ActiveMQ is not available to consumer app and getting
below error

*javax.jms.JMSException: Could not connect to broker URL:
tcp://server2:61616. Reason: Connection timed
out: connect

and through jconsole I connected to ActiveMQ in server2 and I saw
ConsumerCount 1 for queue even there is no consumer i.e consumer
disconnected because of network problem.

After establishing network between server1(consumer app) and
server2(ActiveMQ) I am getting below error

*javax.jms.InvalidClientIDException: Broker: localhost - Client:
consumerClient already connected from tcp://*

After restarting ActiveMQ it came to normal. Is there anyway to avoid this
case without restarting ActiveMQ?


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message