Sakai

Version 7 by Luke Foxton
on Aug 27, 2007 16:31.

compared with
Current by Jeremy Page
on Dec 05, 2008 08:02.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (32)

View page history
{center}{lozenge:icon=!home^clapper.png!|width=60%|link=Sakai Configuration|arrow=none|title=Configure Sakai/LAMS|color=bronze}This animation walks you through the installation and setup process for the integration.{lozenge}
\\ {lozenge:icon=!home^clapper.png!|width=60%|link=Sakai Experience|arrow=none|title=Using Sakai/LAMS|color=purple}Click here to view a demonstration of Authoring, Monitoring and Learning in the LAMS/Sakai environment.{lozenge}{center}

h2. LAMS Integration with Sakai 


h3. Source Installation
h3. Demo Server

1. Follow the instructions in the [Install Guide|http://confluence.sakaiproject.org/confluence/display/DOC/Install+Guide+%282.4%29] for Sakai 2.4.  For those using Sakai 2.3.x, please follow the previous [Installation Guide|http://source.sakaiproject.org/release/2.3.1/install-overview.html].
If you want to try the LAMS - Sakai integration, we have set up a [Sakai server|http://sakai.lamscommunity.org] where you can experience the integration for yourself without having to install it.

2. Checkout the sakai-lamstwo project from the cvs repository.
Follow [the animation|http://saturn.melcoe.mq.edu.au/lams2/docs/winks/sakai-integration.html] to self-register into the Sakai server and you are ready to go\!

    Configure your cvs client as follows :
h3. Getting the LAMS-Sakai Module

    access method: *pserver*
    user name: *anonymous*
    server name: *lamscvs.melcoe.mq.edu.au*
    location: */usr/local/cvsroot*
You can download the LAMS module for Sakai from our [Downloads|lams:Downloads#LAMS2.0.xIntegrations] or you can download the source straight from our CVS server

    You will need to place the project under the sakai-src folder.  This is required since the project references the master/project.xml file.
h3. Source Installation

3. Add the following lines to the build.properties files. This file should be located in your home directory.
1. Follow the instructions in the [Install Guide|http://confluence.sakaiproject.org/confluence/display/DOC/Install+Guide+%282.4%29] for Sakai 2.4.  If you wish to use Sakai 2.5, please follow the instructions in the [Development Environment Setup Walkthrough|https://source.sakaiproject.org/contrib/lams]
\\

    maven.test.failure.ignore=true
2. Checkout the _lams_ project from the Sakai subversion repository at [https://source.sakaiproject.org/contrib/lams]

4. From the sakai-lamstwo directory, run the command
    For help using subversion, please see [here|http://confluence.sakaiproject.org/confluence/display/BOOT/Subversion+Tips]

    maven bld dpl
   You will need to place the project under the sakai-src folder.  This is required since the project references the master/project.xml file.

5. Add the following lines in the sakai.properties file. This is located in the CATALINA_HOME/sakai directory.
3. From the _lams_ directory, run the command

    Sakai 2.4 or earlier: *maven bld dpl*

    Sakai 2.5 or later: *mvn clean install sakai:deploy*

4. Add the following lines in the sakai.properties file. This is located in the CATALINA_HOME/sakai directory.

&nbsp;&nbsp;&nbsp; lamstwo.serverId = <server id>
&nbsp;&nbsp;&nbsp; lamstwo.serverKey = <server key>
6. Start Tomcat and check for any start up errors.

h3. In the LAMS side
h3. Setting LAMS Up

Once you have installed the LAMS-Sakai Module in Sakai, now you need to set up LAMS:

1. login in LAMS as a sysadmin (the user that you created at installation time)
\\
* *Timeout URL*: A webpage that should be displayed if the LAMS/Sakai timeout trying to talk to each other.
* *User Information URL:* If you run sakai using "http://<sakai server>/portal/" then the URL is
http://<sakai server>/sakai-lamstwo-tool/servlet/UserDataServlet?username=%username%&timestamp=%timestamp%&hash=%hash% !LAMSMaintainIntegratedServers.JPG|align=center!
Once you set this up, you are done\! :D

h3. Having problems?
!LAMSMaintainIntegratedServers.JPG!
Need troubleshooting

Post a message in the [Tech Forums|http://lamscommunity.org/dotlrn/clubs/technicalcommunity/forums/] in the LAMS Community.