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

Emmanuel Lecharny resolved DIRMINA-625.
---------------------------------------

    Resolution: Invalid

You can't do a future.awaitUninterruptibly() if using a single thread model, as 
you are waiting for the thread you are using, which is a deadlock. In other 
words, the thread responsible for the write is the one which doing the wait.

You have to add an ExecutorFilter in your chain to have more than one thread 
processing incoming requests and outgoing requests (ie, read and write).

> How to use the function awaitUninterruptibly or await
> -----------------------------------------------------
>
>                 Key: DIRMINA-625
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-625
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M3
>            Reporter: ben
>
> Always reported abnormal DEAD LOCK, How to use it.

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

Reply via email to