[ 
https://issues.apache.org/jira/browse/DIRMINA-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454741#comment-15454741
 ] 

Emmanuel Lecharny commented on DIRMINA-1041:
--------------------------------------------

Indeed. I haven't closed the issue because I haven't fixed it, I just 
workarounded it to be able to cut the release.

What seems to happen is that when a session is closed on *BOTH* side, sometime 
one side does not terminate the session properly. So there is a race condition, 
but I wasn't able to find out the root cause (important side projects to deal 
with).

I will continue to dig, now that I have somehow a clue about what could be the 
problem.

> WriteFuture.await() hangs when the connection is closed remotely before await 
> is invoked
> ----------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-1041
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1041
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.13
>            Reporter: Gijsbert van den Brink
>         Attachments: DIRMINA1041Test.java
>
>
> When in a high throughput scenario a TCP connection is closed remotely before 
> one of the `await` methods on WriteFuture is invoked, the `await` method 
> hangs.
> We've actually been seeing this issue for quite some time in our production 
> environment in an application that uses Apache Camel with the camel-mina2 and 
> camel-hl7 components. I was finally able to reproduce the issue in a unit 
> test (see attached).



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

Reply via email to