Hi all,

We're having problems running a cluster of brokers (AMQ 4.1.1) with
auto-discovery. We're using auto-discovery via multicast both for the JMS
clients and for the network-of-brokers. Our architecture is as follows:

There are 4 clients, and 2 brokers. The clients are configured like this:

discovery:(multicast://224.1.2.1:3333)

The brokers are configured like this:

 <transportConnectors>
       <transportConnector name="TPS1" uri="tcp://10.11.85.83:61616"
discoveryUri="multicast://224.1.2.1:3333"/>
    </transportConnectors>

    <networkConnectors>
     <networkConnector name="TPS" uri="multicast://224.1.2.1:3333"/>
    </networkConnectors>


Now, here's what happens: when we start all processes, all work fine. Next,
we kill one broker. Everything is still fine. Presumably, the clients that
were using the broker that was terminated, switch to the live one. The
problem occurs once we restart the broker that was terminated. From this
moment - the system starts behaving strangely: Some requests work, some
hang... we cannot find a pattern to the problem.

What we do know, is that once we replace the discovery with a hard-coded URL
list, things work fine (when killing and restarting one of the brokers).
Like this:

failover:(tcp://10.11.85.83:61616,tcp://10.11.85.84:61616)



Has anyone seen such behavior? Any ideas? Thanks in advance.

Naaman
-- 
View this message in context: 
http://www.nabble.com/Problem-using-network-of-brokers-and-auto-discovery-tf4125416s2354.html#a11731786
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to