Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-979

IOException when closing mail client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Trunk
    • 3.0-M1
    • IMAPServer
    • None
    • Win XP, Thunderbird

    Description

      Quite often when closing Thunderbird I get this exception:

      ERROR 10:56:01,234 | james.imapserver | Error while processing imap request
      java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen *
      at sun.nio.ch.SocketDispatcher.write0(Native Method)
      at sun.nio.ch.SocketDispatcher.write(Unknown Source)
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
      at sun.nio.ch.IOUtil.write(Unknown Source)
      at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
      at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.java:208)
      at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.java:42)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.writeBuffer(AbstractPollingIoProcessor.java:834)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.flushNow(AbstractPollingIoProcessor.java:764)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.flush(AbstractPollingIoProcessor.java:692)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$500(AbstractPollingIoProcessor.java:61)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:973)
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      I occurs aprx 200 times per second and basically fills up the hard drive with those lines in the log files (that's why I set this issue to critical). I've no idea how to debug this because I can't see where this is called.

      *) an existing connection has been closed by the remote host

      Attachments

        1. jstack_short.log
          7 kB
          Tim-Christian Mundt
        2. jstack_inifinite.log
          17 kB
          Tim-Christian Mundt

        Activity

          People

            norman Norman Maurer
            tcm Tim-Christian Mundt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: