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

When session is closed, DefaultIoFilterChain is in deadlock.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-RC1
    • 2.0.0
    • Core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: