Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6777

Failover not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • 5.14.5
    • None
    • Connector, Transport
    • None
    • Unix

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            akpuvvada Anil P.
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: