activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <khandelwal.anu...@gmail.com>
Subject javax.jms.InvalidClientIDException for durable subscription on broker restart
Date Mon, 11 Aug 2014 10:24:39 GMT
Hi,

I am seeing a weird issue: 

when I restart the ActiveMQ broker a *durable subscriber client* is not able
to connect to the broker showing "InvalidClientIDException".
*Exception: 
*Failed to add Connection ID:gbo5.nyc.xyz.com-36751-1407746385464-11:6
javax.jms.InvalidClientIDException: Broker: mqbrokerprod - Client: GLOCLIENT
already connected from tcp://gbo5.nyc.xyz.com:32985


When I debugged it further I found that only one instance of client is
trying to connect to the broker, there is no other instance running on
gbo5.nyc.xyz.com. 

It looks to me that when broker stopped, at that time broker was not able to
remove the client ID and somehow it is store in broker. Now when broker
comes up and client tries to connect to the broker: it gets the
"InvalidClientIDException" exception.

Please note that my client is a durable subscriber. 

Ideally broker should remove the client ID at the time of restart. OR should
I need to do anything else for durable subscribers at the time of
disconnection ? Please help me here... 







--
View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-for-durable-subscription-on-broker-restart-tp4684381.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message