activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy D." <>
Subject network of brokers : connection drops after one or two days
Date Wed, 27 Feb 2008 05:11:30 GMT


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)


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:
Sent from the ActiveMQ - User mailing list archive at

View raw message