[
https://issues.apache.org/jira/browse/DIRAPI-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205048#comment-17205048
]
Emmanuel Lécharny commented on DIRAPI-337:
------------------------------------------
You can also configure the log4j properties to not log this specific exception.
Actually, this exception does not have to be handled, as there is nothing much
we can do about it: the connection has been closed brutally by the remote peer,
we can't control that.
> ClosedSelectorException while searching through LDAP
> ----------------------------------------------------
>
> Key: DIRAPI-337
> URL: https://issues.apache.org/jira/browse/DIRAPI-337
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Dom Gibson
> Priority: Major
>
> Getting the below stack trace several times randomly while searching through
> LDAP.
>
> java.nio.channels.ClosedSelectorException: null
> at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) ~[na:1.8.0_171]
> at sun.nio.ch.SelectorImpl.select(Unknown Source) ~[na:1.8.0_171]
> at
> org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.java:98)
> ~[mina-core-2.0.16.jar!/:na]
> at
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1075)
> ~[mina-core-2.0.16.jar!/:na]
> at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> [mina-core-2.0.16.jar!/:na]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [na:1.8.0_171]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [na:1.8.0_171]
> at java.lang.Thread.run(Unknown Source) [na:1.8.0_171]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]