AnsweredAssumed Answered

LDAP-AD Integration

Question asked by garcaman on Sep 19, 2013
Latest reply on Sep 20, 2013 by garcaman
Galera bom dia estou tentando integrar o Alfresco 4.2 (community) com o LDAP Microsoft com win2k8 r2 e ate agora não consegui nada, da erro no log, sobre um caminho não especificado.

gostaria da ajuda de vocês para resolver esse problema conforme esse log;

12:22:36,632 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, ldap1]
12:22:36,648 WARN  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ldap1] failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [../common-ldap-context.xml]
Offending resource: file [D:\Alfresco\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap-ad\ldap1\ldap-ad-authentication-context.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [file:/D:/Alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/ldap1/../common-ldap-context.xml]; nested exception is java.io.FileNotFoundException: D:\Alfresco\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap-ad\ldap1\..\common-ldap-context.xml (The system cannot find the file specified)

O caminho que ele reclama é esse ..\\common-ladp-context.xml que esta configurado no arquivo ldap-ad-authentication-context

esse meu arquivo ldap-ad-authentication-context esta desse jeito;
  

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
   <!–
      The bean definitions for this subsystem are shared by the ldap and ldap-ad subsystems with different property
      defaults
   –>
  <import resource="../common-ldap-context.xml" />
</beans>


e esse arquivo "common-ldap-context.xml" por padrão esta em D:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication

Devo alterar esse caminho para onde?

Outcomes