[ 
https://issues.apache.org/jira/browse/DIRSERVER-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832966#comment-17832966
 ] 

Emmanuel Lécharny commented on DIRSERVER-2394:
----------------------------------------------

This is complicated.
The MINA Iohandler exceptionCaught() method which is called here when a write 
to a closed session is attempted could be called for many other reasons (all 
MINA related).

In any case, there is little we can do in this very case, exception flushing 
the exception in the log.

> org.apache.mina.core.write.WriteToClosedSessionException every 40-60 seconds
> ----------------------------------------------------------------------------
>
>                 Key: DIRSERVER-2394
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2394
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0.AM27
>            Reporter: Oleksandr Andreiev
>            Priority: Major
>
> I see such an exception after moving from 2.0.0.AM26 to 2.0.0.AM27.
> {{WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected 
> exception forcing session to close: sending disconnect notice to client.
> org.apache.mina.core.write.WriteToClosedSessionException
> at  
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.clearWriteRequestQueue(AbstractPollingIoProcessor.java:1192)
> at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.removeNow(AbstractPollingIoProcessor.java:1153)
> at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.removeSessions(AbstractPollingIoProcessor.java:864)
> at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:694)
> at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to