You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/10/13 13:22:31 UTC

[jira] Updated: (QPID-2138) Java Broker does not attempt to process any outstanding frames when Mina reports an exception

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

Martin Ritchie updated QPID-2138:
---------------------------------

    Attachment: TEST-org.apache.qpid.server.failover.MessageDisappearWithIOExceptionTest.test.out

Added test output that highlights the BasicAck being sent and the protocolSesison being flushed but the message never arrives on the broker.

> Java Broker does not attempt to process any outstanding frames when Mina reports an exception
> ---------------------------------------------------------------------------------------------
>
>                 Key: QPID-2138
>                 URL: https://issues.apache.org/jira/browse/QPID-2138
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M2.1, M3, M4, 0.5
>            Reporter: Martin Ritchie
>         Attachments: TEST-org.apache.qpid.server.failover.MessageDisappearWithIOExceptionTest.test.out
>
>
> When an exception is caught in Mina it is notified via exceptionCaught().
> When an IOException is fired the Java broker simply logs the event and carries on.
> The MessageDisappearWithIOExceptionTest highlights this problem as frequently an ack is sent to the broker just before failover is initiated. The Java client closes the connection which prevents the ack being received on the broker as the IOException occurs first.
> As there is no sign in the logs of the Ack being received it suggests that Mina stops sending messages for the IOSession after the exception occurs. It doesn't seem write that we have flushed our socket then closed it and the broker does not receive the data.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org