[
https://issues.apache.org/jira/browse/DIRMINA-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ncanis2 updated DIRMINA-742:
----------------------------
Description:
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);
}
was:
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.
Summary: When session is closed, DefaultIoFilterChain is in deadlock.
(was: Mina doesn't call sessionClosed(IoSession session) method.)
> 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
>
> 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.