AnsweredAssumed Answered

Alfrtesco 5.0.d  and openLDAP: ldapInitialDirContextFactory fatal error

Question asked by didierbillard on Oct 7, 2015
Latest reply on Oct 9, 2015 by didierbillard
Hello everyone,

I am still trying to make alfresco community 5.0.d working with openLDAP but wihtout success;

It took me several weeks to sort relevant information from irrelevant or obsolete ones and today I am facing another error when launching alfresco 5.0.d; this fatal error concerns ldapInitialDirContextFactory bean reference which cannot be resolved:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitor' defined in file [/opt/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/../common-ldap-context.xml]: Cannot resolve reference to bean 'authenticationComponent' while setting bean property 'LDAPAuthenticationComponent'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponent' defined in file [/opt/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/../common-ldap-context.xml]: Cannot resolve reference to bean 'ldapInitialDirContextFactory' while setting bean property 'LDAPInitialDirContextFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapInitialDirContextFactory' defined in file [/opt/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/../common-ldap-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

log and ldap configuration files are joined to this message.

Could anyone help me please to find what is causing this error ?

Thank you for your attention.

Outcomes