Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-493

Activemq Failover is not working when the remote computer is turned off

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.6.2
    • None
    • ActiveMQ
    • None
    • ActiveMQ 5.9.1, NMS 1.6.0, NMS.ActiveMQ 1.6.2

    • Unit Test Broken

    Description

      we have used following failover URl:-
      activemq:failover://(ssl://10.2.114.40:61617?transport.serverName=MCCActiveMQBroker,ssl://10.2.152.190:61617?transport.serverName=MCCActiveMQBroker,ssl://10.2.112.178:61617?transport.serverName=MCCActiveMQBroker)?transport.randomize=false&transport.startupMaxReconnectAttempts=0&transport.timeout=5000
      If the computer 10.2.114.40 is turned off, then it throws error and connection not created even if the computers 10.2.152.190 and 10.2.112.178 are running.
      Testcase 1:
      10.2.114.40 is ON but stopped ActiveMQ
      10.2.152.190 is ON and started ActiveMQ there
      This case is working for the failover.
      Testcase 2:
      10.2.114.40 is turned OFF
      10.2.152.190 is ON and started ActiveMQ there
      This case is NOT working for the failover.
      Following error is thrown in this case:-
      Thread was being aborted. - mscorlib - at System.Threading.Monitor.Enter(Object obj) at Apache.NMS.ActiveMQ.Transport.Failover.FailoverTransport.Oneway(Command command) at Apache.NMS.ActiveMQ.Transport.TransportFilter.Oneway(Command command) at Apache.NMS.ActiveMQ.Transport.MutexTransport.Oneway(Command command) at Apache.NMS.ActiveMQ.Transport.ResponseCorrelator.AsyncRequest(Command command) at Apache.NMS.ActiveMQ.Transport.ResponseCorrelator.Request(Command command, TimeSpan timeout) at Apache.NMS.ActiveMQ.Connection.CheckConnected() at Apache.NMS.ActiveMQ.Connection.Start() at BrokerComm.ChannelManager.CheckConnection() in D:\Projects\MCCWAP\Source\BrokerComm\ChannelManager.cs:line 394

      Attachments

        Issue Links

          Activity

            People

              jgomes Jim Gomes
              tamilmaran Tamilmaran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: