[midPoint] ConnectionFailedException in AD connector
Oskar Butovič - AMI Praha a.s.
oskar.butovic at ami.cz
Mon Apr 3 12:52:51 CEST 2017
Hello everybody,
we are
getting org.identityconnectors.framework.common.exceptions.ConnectionFailedException
during reconciliation. Test connection on resource is ok and provisioning
on resource works fine also.
But after 500 reconciled accounts this exception is thrown.
Any idea how to troubleshoot this problem? Wich logging should be
increased, etc....
Full stack trace:
2017-04-03 11:28:03,002 [] [midPointScheduler_Worker-10] ERROR
(com.evolveum.midpoint.provisioning.ucf.impl.IcfUtil): ICF Exception
org.identityconnectors.framework.common.exceptions.ConnectionFailedException
in connector:AD-connector-generated(ICF
com.evolveum.polygon.connector.ldap.ad.AdLdapConnector v1.4.3):
resource:AD-connector-resource(Active Directory): Error searching in
DC=testdomain,DC=cz: Cannot connect on the server, the connection is invalid
org.identityconnectors.framework.common.exceptions.ConnectionFailedException:
Error searching in DC=testdomain,DC=cz: Cannot connect on the server, the
connection is invalid
at
com.evolveum.polygon.connector.ldap.LdapUtil.processLdapException(LdapUtil.java:380)
~[connector-ldap-1.4.3.jar:na]
at
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.searchUsual(AbstractLdapConnector.java:645)
~[connector-ldap-1.4.3.jar:na]
at
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.executeQuery(AbstractLdapConnector.java:459)
~[connector-ldap-1.4.3.jar:na]
at
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.executeQuery(AbstractLdapConnector.java:122)
~[connector-ldap-1.4.3.jar:na]
at
org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:193)
~[connector-framework-internal-1.4.2.18.jar:na]
at
org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:130)
~[connector-framework-internal-1.4.2.18.jar:na]
at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at
org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:98)
~[connector-framework-internal-1.4.2.18.jar:na]
at com.sun.proxy.$Proxy180.search(Unknown Source) ~[na:na]
at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at
org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:96)
~[connector-framework-internal-1.4.2.18.jar:na]
at com.sun.proxy.$Proxy180.search(Unknown Source) ~[na:na]
at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
at
org.identityconnectors.framework.impl.api.BufferedResultsProxy$BufferedResultsHandler.run(BufferedResultsProxy.java:165)
~[connector-framework-internal-1.4.2.18.jar:na]
Caused by:
org.apache.directory.ldap.client.api.exception.InvalidConnectionException:
Cannot connect on the server, the connection is invalid
at
org.apache.directory.ldap.client.api.LdapNetworkConnection.checkSession(LdapNetworkConnection.java:282)
~[na:na]
at
org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1762)
~[na:na]
at
org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1805)
~[na:na]
at
com.evolveum.polygon.connector.ldap.search.SearchStrategy.executeSearch(SearchStrategy.java:181)
~[connector-ldap-1.4.3.jar:na]
at
com.evolveum.polygon.connector.ldap.search.SimplePagedResultsSearchStrategy.search(SimplePagedResultsSearchStrategy.java:136)
~[connector-ldap-1.4.3.jar:na]
at
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.searchUsual(AbstractLdapConnector.java:643)
~[connector-ldap-1.4.3.jar:na]
... 18 common frames omitted
Best Regards
Oskar Butovič
--
Oskar Butovič
solution architect
gsm: [+420] 774 480 101
e-mail: oskar.butovic at ami.cz
AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz
[image: AMI Praha a.s.]
[image: AMI Praha a.s.]
<http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170403/f61e3e91/attachment.htm>
More information about the midPoint
mailing list