You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Matthew Phillips (JIRA)" <ji...@apache.org> on 2008/02/19 08:22:43 UTC
[jira] Created: (DIRMINA-531) IoHandler.sessionClosed not called
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
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.
[jira] Updated: (DIRMINA-531) IoHandler.sessionClosed not called
Posted by "Matthew Phillips (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Phillips updated DIRMINA-531:
-------------------------------------
Attachment: JUTestSessionClose MINA 2.0.java
Test against MINA 2.0.0-M1 (fails)
> 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
> Attachments: JUTestSessionClose MINA 1.1.java, JUTestSessionClose MINA 2.0.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.
[jira] Updated: (DIRMINA-531) IoHandler.sessionClosed not called
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee updated DIRMINA-531:
--------------------------------
Attachment: JUTestSessionCloseRegression.java
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.
[jira] Resolved: (DIRMINA-531) IoHandler.sessionClosed not called
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee resolved DIRMINA-531.
---------------------------------
Resolution: Cannot Reproduce
Assignee: Trustin Lee
> 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
> Assignee: Trustin Lee
> 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.
[jira] Issue Comment Edited: (DIRMINA-531) IoHandler.sessionClosed
not called
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (DIRMINA-531) IoHandler.sessionClosed not called
Posted by "Matthew Phillips (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Phillips updated DIRMINA-531:
-------------------------------------
Attachment: JUTestSessionClose MINA 1.1.java
Test against MINA 1.1.5 (passes)
> 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
> Attachments: JUTestSessionClose MINA 1.1.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.
[jira] Closed: (DIRMINA-531) IoHandler.sessionClosed not called
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRMINA-531.
-------------------------------------
> 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
> Assignee: Trustin Lee
> 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.
[jira] Updated: (DIRMINA-531) IoHandler.sessionClosed not called
Posted by "Mike Heath (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Heath updated DIRMINA-531:
-------------------------------
Fix Version/s: 2.0.0-M2
> 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
>
>
> 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.