You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Omry Yadan (JIRA)" <ji...@apache.org> on 2010/01/28 11:59:34 UTC

[jira] Created: (DIRMINA-760) Client fails to detect disconnection

Client fails to detect disconnection
------------------------------------

                 Key: DIRMINA-760
                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-RC2
            Reporter: Omry Yadan


Tested against revision 901694 (which is a bit after 2.0.0-RC1)

My client need to maintain an open connection to the server.
If I kill the server right before calling session.write(), the client does not detect that the server is gone.
there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).


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


[jira] Updated: (DIRMINA-760) Client fails to detect disconnection

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-760:
--------------------------------------

    Fix Version/s:     (was: 2.0.1)
                   2.0.2

> Client fails to detect disconnection
> ------------------------------------
>
>                 Key: DIRMINA-760
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>            Reporter: Omry Yadan
>             Fix For: 2.0.2
>
>
> Tested against revision 901694 (which is a bit after 2.0.0-RC1)
> My client need to maintain an open connection to the server.
> If I kill the server right before calling session.write(), the client does not detect that the server is gone.
> there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).

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


[jira] Commented: (DIRMINA-760) Client fails to detect disconnection

Posted by "Omry Yadan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805873#action_12805873 ] 

Omry Yadan commented on DIRMINA-760:
------------------------------------

Note:
I am testing on Linux with JDK 1.6.0_12




> Client fails to detect disconnection
> ------------------------------------
>
>                 Key: DIRMINA-760
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC2
>            Reporter: Omry Yadan
>
> Tested against revision 901694 (which is a bit after 2.0.0-RC1)
> My client need to maintain an open connection to the server.
> If I kill the server right before calling session.write(), the client does not detect that the server is gone.
> there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).

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


[jira] Commented: (DIRMINA-760) Client fails to detect disconnection

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839244#action_12839244 ] 

Emmanuel Lecharny commented on DIRMINA-760:
-------------------------------------------

We need some unit test to demonstrate the issue

> Client fails to detect disconnection
> ------------------------------------
>
>                 Key: DIRMINA-760
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>            Reporter: Omry Yadan
>             Fix For: 2.0.0
>
>
> Tested against revision 901694 (which is a bit after 2.0.0-RC1)
> My client need to maintain an open connection to the server.
> If I kill the server right before calling session.write(), the client does not detect that the server is gone.
> there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).

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


[jira] Updated: (DIRMINA-760) Client fails to detect disconnection

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-760:
--------------------------------------

    Affects Version/s:     (was: 2.0.0-RC2)
        Fix Version/s: 2.0.0-RC2

Updated the versions

> Client fails to detect disconnection
> ------------------------------------
>
>                 Key: DIRMINA-760
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>            Reporter: Omry Yadan
>             Fix For: 2.0.0-RC2
>
>
> Tested against revision 901694 (which is a bit after 2.0.0-RC1)
> My client need to maintain an open connection to the server.
> If I kill the server right before calling session.write(), the client does not detect that the server is gone.
> there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).

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


[jira] Updated: (DIRMINA-760) Client fails to detect disconnection

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-760:
--------------------------------------

    Fix Version/s: 2.0.1
                       (was: 2.0.0)

Postponed to 2.0.1

> Client fails to detect disconnection
> ------------------------------------
>
>                 Key: DIRMINA-760
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>            Reporter: Omry Yadan
>             Fix For: 2.0.1
>
>
> Tested against revision 901694 (which is a bit after 2.0.0-RC1)
> My client need to maintain an open connection to the server.
> If I kill the server right before calling session.write(), the client does not detect that the server is gone.
> there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).

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


[jira] Updated: (DIRMINA-760) Client fails to detect disconnection

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-760:
--------------------------------------

    Fix Version/s:     (was: 2.0.0-RC2)
                   2.0.0

Moved to 2.0

I confirm the issue. If you try to see that the connection has been closed, you even can block for ever on a synchronized(lock) block. It seems that the way we handle the connection with a ConnectFuture is dorked.

> Client fails to detect disconnection
> ------------------------------------
>
>                 Key: DIRMINA-760
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-760
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>            Reporter: Omry Yadan
>             Fix For: 2.0.0
>
>
> Tested against revision 901694 (which is a bit after 2.0.0-RC1)
> My client need to maintain an open connection to the server.
> If I kill the server right before calling session.write(), the client does not detect that the server is gone.
> there is no exceptionCaught event, and messageSent is actually called (which suggests successful delivery).

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