{"id":604,"date":"2009-03-11T08:53:12","date_gmt":"2009-03-11T12:53:12","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=604"},"modified":"2011-12-17T12:29:52","modified_gmt":"2011-12-17T16:29:52","slug":"instructions-for-a-sakai-demo-with-lti","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2009\/03\/instructions-for-a-sakai-demo-with-lti\/","title":{"rendered":"Instructions for a Sakai Demo with LTI"},"content":{"rendered":"<p>This describes how to get a simple demo of Sakai with LTI running quickly.  Sorry about the word wrapping.<br \/>\nEdit your ~\/.bash_login file, add the following long line:<br \/>\nJAVA_OPTS=&#8217;-Xmx1024m -Xms1024m -XX:PermSize=32m -XX:MaxPermSize=256m -XX:NewSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC&#8217; ; export JAVA_OPTS<br \/>\nMake sure it is one line.<br \/>\nClose all of your terminal windows and open a new terminal window.  In that terminal window, type:<br \/>\ndhcp2-229:~ csev$ echo $JAVA_OPTS<br \/>\n-Xmx1024m -Xms1024m -XX:PermSize=32m -XX:MaxPermSize=256m -XX:NewSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC<br \/>\ndhcp2-229:~ csev$<br \/>\nAgain &#8211; all one long line.<br \/>\nDownload the following file:<br \/>\nhttp:\/\/www-personal.umich.edu\/~csev\/sakai\/sakai-trunk-lti.tar<br \/>\nPut it in some nice, empty directory and then open a terminal window and navigate to that directory.<br \/>\nUn-tar it into a directory &#8211; it should create a folder called sakai-trunk-lti<br \/>\n67-194-4-195:sakaifun csev$ tar xfvz sakai-trunk-lti.tar<br \/>\nsakai-trunk-lti\/<br \/>\nsakai-trunk-lti\/bin\/<br \/>\nsakai-trunk-lti\/bin\/bootstrap.jar<br \/>\nsakai-trunk-lti\/bin\/catalina-tasks.xml<br \/>\nsakai-trunk-lti\/bin\/catalina.bat<br \/>\nsakai-trunk-lti\/bin\/catalina.sh<br \/>\nsakai-trunk-lti\/bin\/commons-daemon.jar<br \/>\nsakai-trunk-lti\/bin\/commons-logging-api.jar<br \/>\nsakai-trunk-lti\/bin\/cpappend.bat<br \/>\n&#8230;<br \/>\nChange into the directory sakai-trunk-lti\/logs and type this command:<br \/>\n67-194-4-195:logs csev$ cd sakai-trunk-lti\/logs<br \/>\n67-194-4-195:logs csev$ ..\/bin\/startup.sh<br \/>\nUsing CATALINA_BASE:   \/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23<br \/>\nUsing CATALINA_HOME:   \/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23<br \/>\nUsing CATALINA_TMPDIR: \/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23\/temp<br \/>\nUsing JRE_HOME:       \/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.5\/Home<br \/>\n67-194-4-195:logs csev$ tail -f catalina.out<br \/>\n2009-03-11 08:32:21,764  INFO main org.apache.catalina.startup.Catalina &#8211; Initialization processed in 1006 ms<br \/>\n2009-03-11 08:32:21,960  INFO main org.apache.catalina.core.StandardService &#8211; Starting service Catalina<br \/>\n2009-03-11 08:32:21,967  INFO main org.apache.catalina.core.StandardEngine &#8211; Starting Servlet Engine: Apache Tomcat\/5.5.23<br \/>\n&#8212;- There will be lots of lines here &#8212; It will take 1-2 minutes for Sakai to start.<br \/>\n&#8212; If it is successful &#8211; you will see the messages below<br \/>\n2009-03-11 08:34:53,100  INFO main org.apache.jk.common.ChannelSocket &#8211; JK: ajp13 listening on \/0.0.0.0:8009<br \/>\n2009-03-11 08:34:53,106  INFO main org.apache.jk.server.JkMain &#8211; Jk running ID=0 time=0\/30  config=null<br \/>\n2009-03-11 08:34:53,225  INFO main org.apache.catalina.storeconfig.StoreLoader &#8211; Find registry server-registry.xml at classpath resource<br \/>\n2009-03-11 08:34:53,280  INFO main org.apache.catalina.startup.Catalina &#8211; Server startup in 151516 ms<br \/>\nNavigate in your browser to<br \/>\nhttp:\/\/localhost:8080\/portal<br \/>\nLogin as admin \/ admin<br \/>\nClick WorkSite Setup on the Left<br \/>\nClick &#8220;New&#8221;<br \/>\nSelect &#8220;Project Site&#8221;<br \/>\nFill in Site Title &#8211; the rest can be left blank.<br \/>\nOn the list of tools, scroll down and pick the Proxy Tool and press Continue.<br \/>\nAt &#8220;Project Site Access&#8221; Click Continue<br \/>\nAt &#8220;Confirm Project SIte Setup&#8221; Click Continue<br \/>\nNavigate to your new site using the tab at the top.<br \/>\nSelect &#8220;Proxy Tool&#8221; &#8211; It should say &#8220;not yet configured&#8221;<br \/>\nClick the pencil icon in the upper right to get the configuration screen.<br \/>\nRemote URL:   http:\/\/simplelti.appspot.com\/launch<br \/>\nSecret: secret<br \/>\nPress &#8220;Update Options&#8221;<br \/>\nWhen it asks &#8220;Would you like to save your settings?&#8221;  Press &#8220;Yes&#8221;<br \/>\nViola!  Dr. Chuck Sings the Blues<br \/>\nWhen you are done, in the terminal window with the tail, press CTRL-C and then type ..\/bin\/shutdown.sh<br \/>\n2009-03-11 08:40:36,978  INFO http-8080-Processor25 org.apache.pluto.core.PortletContainerImpl &#8211; Portlet Container [sakai]: Container initialized successfully.<br \/>\n^C<br \/>\n67-194-4-195:logs csev$ ..\/bin\/shutdown.sh<br \/>\nUsing CATALINA_BASE:   \/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23<br \/>\nUsing CATALINA_HOME:   \/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23<br \/>\nUsing CATALINA_TMPDIR: \/Users\/csev\/dev\/sakai-trunk\/apache-tomcat-5.5.23\/temp<br \/>\nUsing JRE_HOME:       \/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.5\/Home<br \/>\n67-194-4-195:logs csev$<br \/>\nNote &#8211; this is using an in-Memory database so each time you restart Sakai your sites will vanish.<br \/>\nLather, Rinse, Repeat.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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=&#8217;-Xmx1024m -Xms1024m -XX:PermSize=32m -XX:MaxPermSize=256m -XX:NewSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC&#8217; ; export JAVA_OPTS Make sure it is one line. Close all of your terminal windows and open a new terminal [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-604","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=604"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/604\/revisions"}],"predecessor-version":[{"id":2709,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/604\/revisions\/2709"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}