05-11-2009 09:47 AM
05-29-2009 01:00 PM
Thanks for that thorough response. I'm just out of a seminar and my head's too full of ideas to think about how that'd work in my environment. That said it seems rather tedious to setup. I was looking forward to presenting alfresco running in house with some of our data migrated but i absolutely don't want to be tinkering with the code at such an early stage. If I have to do that now, there's no telling how much more awaits.It's only configuration you're editing, not code.
A clean administrative console with all settings/options really would make this product showcase-able. However unless that is possible I probably will not even bother and look elsewhere.http://wiki.alfresco.com/wiki/JMX
05-29-2009 05:58 PM
06-01-2009 05:54 PM
06-10-2009 01:27 PM
Dear jriker
First you need to set up your authentication chain by declaring it in custom-repository.properties. E.g.
authentication.chain=myldap:ldap
Now take a copy of
root\projects\repository\config\alfresco\subsystems\Authentication\ldap\ldap-authentication.properties
and place it in your extension classpath under
alfresco/extension/subsystems/Authentication/ldap/myldap/ldap-synchronisation.properties
(note that your instance name is the last directory in the path)
.. and edit so that the parameters match your environment.
We certainly had this working in one of our test environments so let me know (via the forums) if you have any further problems.
06-10-2009 03:01 PM
06-10-2009 03:27 PM
You put all your Alfresco configuration into the extension classpath. (Never into the WEB-INF)
If you have installed onto Tomcat 6 then you need to create the shared extensions folder and add it to the classpath.
http://wiki.alfresco.com/wiki/Install_Tomcat6
06-11-2009 06:02 AM
06-18-2009 11:42 AM
From application-context.xml:
These are the locations for users' configuration files. It is not recursive.
<import resource="classpath*:alfresco/extension/*-context.xml"/>
<import resource="classpath*:alfresco/extension/mt/*-context.xml"/>
<import resource="classpath*:alfresco/extension/bootstrap/*-context.xml" />
10:44:52,740 INFO [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/extension/custom-hibernate-dialect.properties]
10:44:52,776 INFO [org.alfresco.config.SystemPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/hibernate-cfg.properties]
10:44:58,273 ERROR [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] Unable to connect to LDAP Server; check LDAP configuration
javax.naming.NoInitialContextException: Cannot instantiate class: ${ldap.authentication.java.naming.factory.initial} [Root exception is java.lang.ClassNotFoundException: ${ldap.authentication.java.naming.factory.initial}]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
at org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl.afterPropertiesSet(LDAPInitialDirContextFactoryImpl.java:224)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapable
JR
06-19-2009 10:02 AM
06-19-2009 10:27 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.