You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2008/03/12 05:52:46 UTC

[jira] Issue Comment Edited: (DIRMINA-531) IoHandler.sessionClosed not called

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

trustin edited comment on DIRMINA-531 at 3/11/08 9:52 PM:
--------------------------------------------------------------

I tried to reproduce the problem you described, but couldn't so far.  I'm attaching the slightly modified version of your test case, because it sometimes fails because of wait-notify timing issue.

Please let me know if you can still reproduce the problem with the latest snapshot build.  Please attach full thread dump if you find something stuck.

      was (Author: trustin):
    I tried to reproduce the problem you described, but couldn't so far.  I'm attaching the slightly modified version of your test case, because it sometimes fails because of wait-notify timing issue.
  
> IoHandler.sessionClosed not called
> ----------------------------------
>
>                 Key: DIRMINA-531
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-531
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M1
>         Environment: Mac OS X 10.5 (Intel), Java 5
>            Reporter: Matthew Phillips
>             Fix For: 2.0.0-M2
>
>         Attachments: JUTestSessionClose MINA 1.1.java, JUTestSessionClose MINA 2.0.java, JUTestSessionCloseRegression.java
>
>
> While porting to MINA 2.0 I've had a few tests fail that depend on the IoHandler.sessionClosed callback. It appears that if the acceptor closes a session in its IoHandler, the connector's IoHandler does not get a session close event.
> The attached tests demonstrate this: the one ending in MINA 1.1 works fine under MINA 1.1.5, the one ending in MINA 2.0 (which is a direct port of the 1.1 test to the MINA 2.0 API) does not: the sessionClosed method is not called when the acceptor closes its end.

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