[Building Sakai] JLDAP Cache

Sam Ottenhoff ottenhoff at longsight.com
Thu Jan 26 13:20:28 PST 2012


Anyone who uses JLDAP in their local trunk build, I just checked in a
change to SAK-21110 that removed the cacheTTL setting from jldap-beans.xml.
 Setting your cacheTTL in that file has been ineffectual since Sakai 2.7.

The proper way to set your JLDAP cache in Sakai 2.9 and trunk is to modify
your sakai.properties:

memory.edu.amc.sakai.user.JLDAPDirectoryProvider.userCache=timeToLiveSeconds=370,timeToIdleSeconds=0,maxElementsInMemory=1333

The way to set your JLDAP cache in 2.7.1 - 2.8.1:

edu.amc.sakai.user.JLDAPDirectoryProvider.userCache=timeToLiveSeconds=370,timeToIdleSeconds=0,maxElementsInMemory=1333

See https://jira.sakaiproject.org/browse/KNL-763 for history of why
"memory." is required in cache title.

https://jira.sakaiproject.org/browse/SAK-21110

--Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120126/bbd2096b/attachment.html 


More information about the sakai-dev mailing list