You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Guy D." <gd...@gmail.com> on 2008/02/27 06:11:30 UTC

network of brokers : connection drops after one or two days

Hi,

I have 2 brokers (ActiveMQ 5.0) connected together with this configuration:

dev-amq01 <--> dev-amq02

- dev-amq01:

      <networkConnector name="dev-amq02"
uri="static://(tcp://dev-amq02:61616)" dynamicOnly="true"/>

- dev-amq02:

      <networkConnector name="dev-amq01"
uri="static://(tcp://dev-amq01:61616)" dynamicOnly="true"/>

Communication between both brokers is ok for one or two days, but
eventually, I get on one broker an error:

Async error occurred: javax.jms.InvalidClientIDException: Broker: dev-amq01
- Client: NC_dev-amq02_outbound already connected from
/dev-amq02:56075javax.jms.InvalidClientIDException: Broker: dev-amq01 -
Client: NC_amq02_outbound already connected from /dev-amq02:56075
...
...


I have to restart this broker to get the network working again. I also run
another network of 4 brokers (mesh topo.) with the same issue.

I tried 2 different java versions (from ubuntu):

java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-b05, mixed mode)

and

java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)

Any idea ?
-- 
View this message in context: http://www.nabble.com/network-of-brokers-%3A-connection-drops-after-one-or-two-days-tp15706247s2354p15706247.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.