activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RJtokenlanring <ing.marco.colo...@gmail.com>
Subject Set ClientID - InvalidClientIDException
Date Thu, 15 Jul 2010 13:25:52 GMT

Hi all, 
I have a client that do a durable subscriptio to a topic. 
It register with a static client id.

After a connectivity loss (an so a new re-connection), this exception is
thrown and connection cannot be 
re-established:

2010-07-15 13:49:04,700 ERROR - javax.jms.InvalidClientIDException: Broker:
localhost - Client: (SchedulerId = '1') already connected from
blockingQueue_8461294
        at
org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:216)
        at
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:82)
        at
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:82)
        at
org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:77)
        at
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:82)
        at
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:82)
....

This is not possible, because is the only client with that name and previos
connection was closed . .close().

There is a way to force reconnection or force that registered client is died
and so accept a new connection?

I'm using AMQ 5.3.2

Thank you and best regards! 

-- 
View this message in context: http://old.nabble.com/Set-ClientID---InvalidClientIDException-tp29172904p29172904.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message