You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/01/14 08:14:54 UTC

[jira] Updated: (DIRMINA-742) When session is closed, DefaultIoFilterChain is in deadlock.

     [ https://issues.apache.org/jira/browse/DIRMINA-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-742:
--------------------------------------

    Fix Version/s: 2.0.0-RC2

This need to be investigated and fixed

> When session is closed, DefaultIoFilterChain is in deadlock.
> ------------------------------------------------------------
>
>                 Key: DIRMINA-742
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-742
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC1
>         Environment: XP
>            Reporter: ncanis2
>             Fix For: 2.0.0-RC2
>
>
> It is mina 2.0.0RC1 in my project.
> My problem is:
> Client was connected with server.
> But, when server was exited suddenly, client couldn't call sessionClosed() method.
> DefaultIoFilterChain.java
> public void fireSessionClosed() {
>         // Update future.
>         try {
>             session.getCloseFuture().setClosed();   <= This is problem. deadlock invoked..
>         } catch (Throwable t) {
>             fireExceptionCaught(t);
>         }
>         // And start the chain.
>         Entry head = this.head;
>         callNextSessionClosed(head, session);
>     }

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