Tamilmaran created AMQNET-493:
---------------------------------
Summary: Activemq Failover is not working when the remote computer
is turned off
Key: AMQNET-493
URL: https://issues.apache.org/jira/browse/AMQNET-493
Project: ActiveMQ .Net
Issue Type: Bug
Components: ActiveMQ
Affects Versions: 1.6.2
Environment: ActiveMQ 5.9.1, NMS 1.6.0, NMS.ActiveMQ 1.6.2
Reporter: Tamilmaran
Assignee: Jim Gomes
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)