Error in new LDAP connector version Datafari 2.2.1

129 views
Skip to first unread message

tfdaz...@mppr.mp.br

unread,
Apr 19, 2016, 9:28:46 AM4/19/16
to Datafari
Hi,

There is an error in MAnifoldCF LDAP. The new ldap connector displays the following error : " FException : Communication error"
To correct the error I overwrites the file " mcf -ldap - connector.jar " by the Datafari 2.1.4 version file.
Below the log:

WARN 2016-04-19 08:54:18,890 (Auth check thread 9) - Authority error: Communication error: ldapdc.mppr:389
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Communication error: ldapdc.mppr:389
at org.apache.manifoldcf.authorities.authorities.ldap.LDAPAuthority.getSession(LDAPAuthority.java:242)
at org.apache.manifoldcf.authorities.authorities.ldap.LDAPAuthority.getAuthorizationResponse(LDAPAuthority.java:365)
at org.apache.manifoldcf.authorities.system.AuthCheckThread.run(AuthCheckThread.java:96)
Caused by: javax.naming.CommunicationException: ldapdc.mppr:389 [Root exception is java.lang.IllegalArgumentException: object is not an instance of declaring class]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:226)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1613)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2746)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
at org.apache.manifoldcf.authorities.authorities.ldap.LDAPAuthority.getSession(LDAPAuthority.java:220)
... 2 more
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:328)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:203)
... 15 more

cedric...@francelabs.com

unread,
Jun 7, 2016, 4:11:17 AM6/7/16
to Datafari
Hi,

thanks for your comments. We'll wait to see if someone else has the same issue (and the same solution) to create a ticket on it.

Cedric
Reply all
Reply to author
Forward
0 new messages