[
https://issues.apache.org/jira/browse/JAMES-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841218#action_12841218
]
Tim-Christian Mundt commented on JAMES-979:
-------------------------------------------
If I understand correctly, James tried to close the session with close(false)
which caused mina to closeOnFlush() which tried to write to the session which
was closed which caused an exception in which James tried to ...
> IOException when closing mail client
> ------------------------------------
>
> Key: JAMES-979
> URL: https://issues.apache.org/jira/browse/JAMES-979
> Project: JAMES Server
> Issue Type: Bug
> Components: IMAPServer
> Affects Versions: Trunk
> Environment: Win XP, Thunderbird
> Reporter: Tim-Christian Mundt
> Assignee: Norman Maurer
> Priority: Blocker
> Fix For: 3.0-M1
>
> Attachments: jstack_inifinite.log, jstack_short.log
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]