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

diwayoumit commented on DIRMINA-531:
------------------------------------

i had this problem when i didn't put the log4j config file at the right place. 
when the log system works right, the session closed function will be 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
>            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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to