Re: observing hangs after update to MINA 2.0.14

2016-10-17 Thread Christoph John
Hi Emmanuel, thanks for your input. Best regards, Chris. On 15/10/16 01:10, Emmanuel Lecharny wrote: On Fri, Oct 14, 2016 at 11:47 PM, Christoph John wrote: Hi Emmanuel, I think I have found the problem in our code and it is most likely related to

Re: observing hangs after update to MINA 2.0.14

2016-10-14 Thread Emmanuel Lecharny
On Fri, Oct 14, 2016 at 11:47 PM, Christoph John wrote: > Hi Emmanuel, > > I think I have found the problem in our code and it is most likely related > to https://issues.apache.org/jira/browse/DIRMINA-1025 . > In the code we were calling ioSession.closeNow(). This worked

Re: observing hangs after update to MINA 2.0.14

2016-10-14 Thread Christoph John
Hi Emmanuel, I think I have found the problem in our code and it is most likely related to https://issues.apache.org/jira/browse/DIRMINA-1025 . In the code we were calling ioSession.closeNow(). This worked before but due to the changed flushing behaviour messages sometimes got lost on

Re: observing hangs after update to MINA 2.0.14

2016-09-26 Thread Emmanuel Lécharny
Le 26/09/16 à 09:01, Christoph John a écrit : > Until now I could not reproduce the problem reliably. However, I think > it might not be a "hang" but have to do with the changed behaviour > regarding flushing that has been fixed in MINA 2.0.14 (DIRMINA-1025/1021) > E.g. the tests wait for a

Re: observing hangs after update to MINA 2.0.14

2016-09-26 Thread Christoph John
Until now I could not reproduce the problem reliably. However, I think it might not be a "hang" but have to do with the changed behaviour regarding flushing that has been fixed in MINA 2.0.14 (DIRMINA-1025/1021) E.g. the tests wait for a message to arrive that the other side has sent but it

Re: observing hangs after update to MINA 2.0.14

2016-09-21 Thread Christoph John
OK, will open a JIRA issue and try to get a test case. It might very well be a race condition, but the question is why it is manifesting every time I run the test suite with MINA 2.0.14 and never with 2.0.13. Will keep you updated. Thanks, Chris. On 21/09/16 14:48, Emmanuel Lécharny wrote:

Re: observing hangs after update to MINA 2.0.14

2016-09-21 Thread Emmanuel Lécharny
Le 21/09/16 à 13:17, Christoph John a écrit : > Hi, > > do you need any more information from my side? Should I create a JIRA > issue? The problem can be reproduced with QuickFIX/J code but I could > check if can condense a MINA-only test case if required. A test case would be very valuable, and,

Re: observing hangs after update to MINA 2.0.14

2016-09-21 Thread Christoph John
Hi, do you need any more information from my side? Should I create a JIRA issue? The problem can be reproduced with QuickFIX/J code but I could check if can condense a MINA-only test case if required. Thanks, Chris. On 15/09/16 11:20, Christoph John wrote: Great, thanks in advance. Cheers,

Re: observing hangs after update to MINA 2.0.14

2016-09-15 Thread Christoph John
Great, thanks in advance. Cheers, Chris. On 13/09/16 11:11, Emmanuel Lecharny wrote: Might be caused by some problem when the connection is closed on both sides at the same time. As soon as I get back my computer (it's being repaired atm), I will be able to have a look at the pb. On Mon, Sep

Re: observing hangs after update to MINA 2.0.14

2016-09-13 Thread Emmanuel Lecharny
Might be caused by some problem when the connection is closed on both sides at the same time. As soon as I get back my computer (it's being repaired atm), I will be able to have a look at the pb. On Mon, Sep 12, 2016 at 9:57 PM, Christoph John wrote: > Hi, > > I am

observing hangs after update to MINA 2.0.14

2016-09-12 Thread Christoph John
Hi, I am maintaining the QuickFIX/J project (https://github.com/quickfix-j/quickfixj) which uses MINA as communication library. Recently we integrated a pull request which included calling dispose(true) on an IoAcceptor to clean up the resources. This was no problem with MINA 2.0.13. However,