Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-742

When session is closed, DefaultIoFilterChain is in deadlock.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.0
    • Component/s: Core
    • Labels:
      None
    • Environment:
      XP

      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);
      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ncanis2 ncanis2
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: