[
https://issues.apache.org/jira/browse/DIRMINA-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802196#action_12802196
]
ncanis2 commented on DIRMINA-742:
---------------------------------
I think this problem was fixed.
when I used below code, the problem was invoked.
if(session!=null && session.isConnected()) {
session.getCloseFuture().addListener(new
IoFutureListener() {
@Override
public void operationComplete(IoFuture
future) {
if(dc.isDisposed()==false) {
dc.dispose();
}
}
});
}
Now, I delete the code, after that my problem is perfectly doing work.
You shoud close this Issue.
Thank you.
> 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.