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 2009/11/23 14:13:52 UTC

[jira] Commented: (AMQNET-211) ConnectionInterruptedListener doesnt raise the event when broker network dies in failover mode

    [ https://issues.apache.org/activemq/browse/AMQNET-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56020#action_56020 ] 

Timothy Bish commented on AMQNET-211:
-------------------------------------

So this only happens when you pull the network plug, but works fine when you shutdown a broker?  It should like a symptom of not having an inactivity monitor yet in NMS.ActiveMQ.  

> ConnectionInterruptedListener doesnt raise the event when broker network dies in failover mode
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMQNET-211
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-211
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ, NMS
>    Affects Versions: 1.2.0
>         Environment: ActiveMQ 5.3 stable release. tested also with ActiveMQ 5.4 Nightly build
> Apache.NMS 1.2.0.1778
> Apache.NMS.ActiveMQ.dll 1.2.0.1778
>            Reporter: Sebastien Rodriguez
>            Assignee: Jim Gomes
>         Attachments: activemq.xml
>
>
> The problem comes when I set up the following configuration:
> Network of brokers (2 brokers, A and B) in failover mode
> Client written in C# using the Apache.NMS.ActiveMQ client, configured in failover mode. (machine C)
> When stopping manually the service in one computer(A for eg), the switch is done without any problems. C uses B to send the data. The admin console shows he has one consumer.
> Turning the service on and doing the same step in the other computer works great too (the client failovers to the recovered broker again without any problems: C is connected to A now)
> Unplugging the network cable in A does not cause C to switch to B again. Looking at the admin console there are no consumers connected to B.
> Looking the logs of B:
> jvm 1    |  WARN | Could not start network bridge between: vm://10.216.1.66 and: tcp://10.216.1.101:61616 due to: java.net.ConnectException: Connection timed out: connect
> This should have raised a ConnectionInterruptedListener event. Logs shoes nothing such happens

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.