You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/11/24 18:10:13 UTC

[jira] [Moved] (AMQNET-494) Activemq Failover is not working when the remote computer is turned off

     [ https://issues.apache.org/jira/browse/AMQNET-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish moved AMQ-5432 to AMQNET-494:
------------------------------------------

          Component/s:     (was: Broker)
                       ActiveMQ
    Affects Version/s:     (was: 5.9.1)
                  Key: AMQNET-494  (was: AMQ-5432)
              Project: ActiveMQ .Net  (was: ActiveMQ)

> Activemq Failover is not working when the remote computer is turned off
> -----------------------------------------------------------------------
>
>                 Key: AMQNET-494
>                 URL: https://issues.apache.org/jira/browse/AMQNET-494
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ
>         Environment: activeMQ,NMS
>            Reporter: Tamilmaran
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)