You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Anil P. (JIRA)" <ji...@apache.org> on 2017/07/24 12:33:00 UTC

[jira] [Created] (AMQ-6777) Failover not wokring

Anil P. created AMQ-6777:
----------------------------

             Summary: Failover not wokring
                 Key: AMQ-6777
                 URL: https://issues.apache.org/jira/browse/AMQ-6777
             Project: ActiveMQ
          Issue Type: Bug
          Components: Connector, Transport
    Affects Versions: 5.14.5
         Environment: Unix
            Reporter: Anil P.


Please refer http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-td4728550.html#a4728794 for more details

When configured as Shared File System Master/Slave, the following two issues observed.

1) When Master is down, Java clients using "failover:(tcp://master:port,tcp:/slave:port)" URL are not falling back / connecting to secondary. They are hanging / waiting for connection.
If I use timeout like "failover:(tcp://master:port,tcp:/slave:port)?randomize=false&timeout=<timeout in ms>", if I use 1 mnt as timeout, I am getting error saying connection timeout when master is stopped/killed. If I use 5 mnts, it is again hanging.

2) If the URL is  "failover:(tcp://slave:port,tcp:/master:port)", it is hanging/waiting infinitely at connection.start();

Please help.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)