directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-337) ClosedSelectorException while searching through LDAP
Date Sat, 21 Sep 2019 16:32:00 GMT

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

Emmanuel Lecharny commented on DIRAPI-337:
------------------------------------------

The message you get signal that the socket has been closed. If you don't do so on your side,
that means the remote server has closed the connection.
One possible reason is that you do a search that reaches a limit on the server (timeout, or
maximum number of returned entries).

There is not much we can do on the API end.

> 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: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message