Instructions for a Sakai Demo with LTI

This describes how to get a simple demo of Sakai with LTI running quickly. Sorry about the word wrapping.
Edit your ~/.bash_login file, add the following long line:
JAVA_OPTS=’-Xmx1024m -Xms1024m -XX:PermSize=32m -XX:MaxPermSize=256m -XX:NewSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC’ ; export JAVA_OPTS
Make sure it is one line.
Close all of your terminal windows and open a new terminal window. In that terminal window, type:
dhcp2-229:~ csev$ echo $JAVA_OPTS
-Xmx1024m -Xms1024m -XX:PermSize=32m -XX:MaxPermSize=256m -XX:NewSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
dhcp2-229:~ csev$
Again – all one long line.
Download the following file:
http://www-personal.umich.edu/~csev/sakai/sakai-trunk-lti.tar
Put it in some nice, empty directory and then open a terminal window and navigate to that directory.
Un-tar it into a directory – it should create a folder called sakai-trunk-lti
67-194-4-195:sakaifun csev$ tar xfvz sakai-trunk-lti.tar
sakai-trunk-lti/
sakai-trunk-lti/bin/
sakai-trunk-lti/bin/bootstrap.jar
sakai-trunk-lti/bin/catalina-tasks.xml
sakai-trunk-lti/bin/catalina.bat
sakai-trunk-lti/bin/catalina.sh
sakai-trunk-lti/bin/commons-daemon.jar
sakai-trunk-lti/bin/commons-logging-api.jar
sakai-trunk-lti/bin/cpappend.bat

Change into the directory sakai-trunk-lti/logs and type this command:
67-194-4-195:logs csev$ cd sakai-trunk-lti/logs
67-194-4-195:logs csev$ ../bin/startup.sh
Using CATALINA_BASE: /Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23
Using CATALINA_HOME: /Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23
Using CATALINA_TMPDIR: /Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
67-194-4-195:logs csev$ tail -f catalina.out
2009-03-11 08:32:21,764 INFO main org.apache.catalina.startup.Catalina – Initialization processed in 1006 ms
2009-03-11 08:32:21,960 INFO main org.apache.catalina.core.StandardService – Starting service Catalina
2009-03-11 08:32:21,967 INFO main org.apache.catalina.core.StandardEngine – Starting Servlet Engine: Apache Tomcat/5.5.23
—- There will be lots of lines here — It will take 1-2 minutes for Sakai to start.
— If it is successful – you will see the messages below
2009-03-11 08:34:53,100 INFO main org.apache.jk.common.ChannelSocket – JK: ajp13 listening on /0.0.0.0:8009
2009-03-11 08:34:53,106 INFO main org.apache.jk.server.JkMain – Jk running ID=0 time=0/30 config=null
2009-03-11 08:34:53,225 INFO main org.apache.catalina.storeconfig.StoreLoader – Find registry server-registry.xml at classpath resource
2009-03-11 08:34:53,280 INFO main org.apache.catalina.startup.Catalina – Server startup in 151516 ms
Navigate in your browser to
http://localhost:8080/portal
Login as admin / admin
Click WorkSite Setup on the Left
Click “New”
Select “Project Site”
Fill in Site Title – the rest can be left blank.
On the list of tools, scroll down and pick the Proxy Tool and press Continue.
At “Project Site Access” Click Continue
At “Confirm Project SIte Setup” Click Continue
Navigate to your new site using the tab at the top.
Select “Proxy Tool” – It should say “not yet configured”
Click the pencil icon in the upper right to get the configuration screen.
Remote URL: http://simplelti.appspot.com/launch
Secret: secret
Press “Update Options”
When it asks “Would you like to save your settings?” Press “Yes”
Viola! Dr. Chuck Sings the Blues
When you are done, in the terminal window with the tail, press CTRL-C and then type ../bin/shutdown.sh
2009-03-11 08:40:36,978 INFO http-8080-Processor25 org.apache.pluto.core.PortletContainerImpl – Portlet Container [sakai]: Container initialized successfully.
^C
67-194-4-195:logs csev$ ../bin/shutdown.sh
Using CATALINA_BASE: /Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23
Using CATALINA_HOME: /Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23
Using CATALINA_TMPDIR: /Users/csev/dev/sakai-trunk/apache-tomcat-5.5.23/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
67-194-4-195:logs csev$
Note – this is using an in-Memory database so each time you restart Sakai your sites will vanish.
Lather, Rinse, Repeat.