You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

1. unzip scripts.zip

2. move thaliagroup-context.xml to /tomcat/shared/classes/alfresco/extension

3. move ThaliaWebscript.jar to tomcat\webapps\alfresco\WEB-INF\lib

4. move group* to tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts

5. rename tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/xml.status.ftl to xml.status.ftl.bak

6. move xml.status.ftl in the zip to tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts 

7. modify /tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties and add

log4j.logger.edu.mit.thalia.webscript=info8. stop and restart alfresco  

8. type in http://servername/alfresco/service/groups/[domainname] and it should list all the groups in the domain

To run the synchronization script:

1. put the script thaliasync.pl somewhere and make it executable

2. install the perl log4perl module by doing:perl -MCPAN -e "install Log::Log4perl" 3. run the script once to make sure that it runs and check the log file /home/thaliasync.log
4. schedule it in the crontab0 * * * * /home/thalia/scripts/thaliasync.pl  It will run every hour

  • No labels