{"id":263,"date":"2007-02-08T12:28:09","date_gmt":"2007-02-08T16:28:09","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=263"},"modified":"2011-12-17T12:22:05","modified_gmt":"2011-12-17T16:22:05","slug":"jsr-168-sakai-test-notes","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2007\/02\/jsr-168-sakai-test-notes\/","title":{"rendered":"JSR-168 Sakai Test Notes"},"content":{"rendered":"<p>This is my install log for a fresh check out of Sakai getting 168 to work.<\/p>\n<p><!--more--><br \/>\nSet up Maven 2 per this:<br \/>\nhttp:\/\/bugs.sakaiproject.org\/confluence\/display\/ENC\/Using+Maven+2Set up Maven 2 per this:<br \/>\nhttp:\/\/bugs.sakaiproject.org\/confluence\/display\/ENC\/Using+Maven+2<br \/>\n~\/dev csev$  svn co https:\/\/source.sakaiproject.org\/svn\/sakai\/trunk\/ sakai<br \/>\n~\/dev\/sakai csev$ svn co https:\/\/source.sakaiproject.org\/svn\/portal\/branches\/charon_velocity_portal\/<br \/>\nChecked out revision 21139.<br \/>\ndhcp-op350-conf-center-west-95-172:~\/dev\/sakai csev$ svn co https:\/\/source.sakaiproject.org\/svn\/portlet\/trunk\/ portlet<br \/>\ndhcp-op350-conf-center-west-95-172:~\/dev\/sakai csev$ vi pom.xml<br \/>\n&lt;module&gt;osid&lt;\/module&gt;<br \/>\n&#8211;    &lt;module&gt;osp&lt;\/module&gt;<br \/>\n+    &lt;!&#8211; &lt;module&gt;osp&lt;\/module&gt; &#8211;&gt;<br \/>\n&lt;module&gt;podcasts&lt;\/module&gt;<br \/>\n&#8211;    &lt;module&gt;portal&lt;\/module&gt;<br \/>\n+    &lt;!&#8211; &lt;module&gt;portal&lt;\/module&gt; &#8211;&gt;<br \/>\n+    &lt;module&gt;charon_velocity_portal&lt;\/module&gt;<br \/>\n&lt;module&gt;postem&lt;\/module&gt;<br \/>\n&lt;module&gt;presence&lt;\/module&gt;<br \/>\n~\/dev\/sakai csev$ mvn -o -Dmaven.test.skip=true -Dmaven.tomcat.home=\/Users\/csev\/dev\/apache-tomcat-5.5.20\/ clean install sakai:deploy<br \/>\n~\/dev\/sakai\/portlet csev$ maven sakai<br \/>\n~\/dev\/apache-tomcat-5.5.20\/common\/endorsed csev$ cp ~\/dev\/save-apache\/common\/endorsed\/xercesImpl.jar .<br \/>\n~\/dev\/apache-tomcat-5.5.20\/common\/endorsed csev$ ls -l<br \/>\nxercesImpl.jar -rw-r&#8211;r&#8211;   1 csev  csev  1207073 Feb  8 09:13 xercesImpl.jar<br \/>\n&#8212;- START TOMCAT &#8212;-<br \/>\nCreate a new account in Sakai<br \/>\nCreate new worksite in Sakai<br \/>\nIn the tool registration you should see things like SakaiLaunch<br \/>\nSimply select one of the portlets<br \/>\nGo to the site and click on the portlet<br \/>\nDo not worry about this log entry &#8211; it is from the portlet and it is just whining loudly that<br \/>\nit cannot find a remote web service.<br \/>\nRemote User=csevdoView site.list = null sakai.host=null<br \/>\nautoLogin = null autoDone=null remote=csev session=null<br \/>\nloadSiteList host=http:\/\/localhost:8080 id=csev pw=plug-xyzzy auto=true<br \/>\nsession=null host=null user=null placement=null<br \/>\nFirst Name=null<br \/>\nLast Name=null<br \/>\nEMail=null<br \/>\nPortal Login http:\/\/localhost:8080\/sakai-axis\/SakaiPortalLogin.jws id=csev pw=plug-xyzzy<br \/>\nSakiaPortalLogin.login()<br \/>\nSakaiPortalLogin.loginAndCreate id=csev pw=plug-xyzzy sec=<br \/>\nSakaiPortalLogin.loginAndCreate ip=127.0.0.1 portalIP= IPCheck=<br \/>\nfn=null ln=null em=null ip=127.0.0.1Exception:Failed login<br \/>\nIf you forget to put xerces in common you will see this in the log.<br \/>\nFeb 8, 2007 9:08:43 AM org.apache.catalina.startup.HostConfig deployWAR<br \/>\nINFO: Deploying web application archive sakai-portlets.war<br \/>\njava.lang.RuntimeException: Could not instantiate parser org.apache.xerces.parsers.SAXParser: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration<br \/>\nat org.exolab.castor.util.LocalConfiguration.getParser(LocalConfiguration.java:332)<br \/>\nat org.exolab.castor.util.LocalConfiguration.getParser(LocalConfiguration.java:263)<br \/>\nat org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:678)<br \/>\nat org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:535)<br \/>\nat org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:438)<br \/>\nat org.apache.pluto.descriptors.services.castor.PortletAppDescriptorServiceImpl.getCastorMapping(PortletAppDescriptorServiceImpl.java:102)<br \/>\nat org.apache.pluto.descriptors.services.castor.AbstractCastorDescriptorService.readInternal(AbstractCastorDescriptorService.java:45)<br \/>\n~\/dev csev$  svn co https:\/\/source.sakaiproject.org\/svn\/sakai\/trunk\/ sakai<br \/>\n~\/dev\/sakai csev$ svn co https:\/\/source.sakaiproject.org\/svn\/portal\/branches\/charon_velocity_portal\/<br \/>\nChecked out revision 21139.<br \/>\ndhcp-op350-conf-center-west-95-172:~\/dev\/sakai csev$ svn co https:\/\/source.sakaiproject.org\/svn\/portlet\/trunk\/ portlet<br \/>\ndhcp-op350-conf-center-west-95-172:~\/dev\/sakai csev$ vi pom.xml<br \/>\n&lt;module&gt;osid&lt;\/module&gt;<br \/>\n&#8211;    &lt;module&gt;osp&lt;\/module&gt;<br \/>\n+    &lt;!&#8211; &lt;module&gt;osp&lt;\/module&gt; &#8211;&gt;<br \/>\n&lt;module&gt;podcasts&lt;\/module&gt;<br \/>\n&#8211;    &lt;module&gt;portal&lt;\/module&gt;<br \/>\n+    &lt;!&#8211; &lt;module&gt;portal&lt;\/module&gt; &#8211;&gt;<br \/>\n+    &lt;module&gt;charon_velocity_portal&lt;\/module&gt;<br \/>\n&lt;module&gt;postem&lt;\/module&gt;<br \/>\n&lt;module&gt;presence&lt;\/module&gt;<br \/>\n~\/dev\/sakai csev$ mvn -o -Dmaven.test.skip=true -Dmaven.tomcat.home=\/Users\/csev\/dev\/apache-tomcat-5.5.20\/ clean install sakai:deploy<br \/>\n~\/dev\/sakai\/portlet csev$ maven sakai<br \/>\nI added this to is my sakai.properties which I took from ~\/dev\/sakai\/reference\/demo\/sakai.properties<br \/>\ngatewaySiteList=!gateway,mercury,snork<br \/>\nwebservices.allowlogin=true<br \/>\nwebservice.portalsecret=plug-xyzzy<br \/>\nwebservice.portalIP=127.0.0.1<br \/>\nwebservice.IPCheck=true<br \/>\n&#8212;- START TOMCAT &#8212;-<br \/>\nCreate a new account in Sakai<br \/>\nCreate new worksite in Sakai<br \/>\nIn the tool registration you should see things like SakaiLaunch<br \/>\nSimply select one of the portlets<br \/>\nGo to the site and click on the portlet<br \/>\nDo not worry about this log entry &#8211; it is from the portlet and it is just whining loudly that<br \/>\nit cannot find a remote web service.<br \/>\nRemote User=csevdoView site.list = null sakai.host=null<br \/>\nautoLogin = null autoDone=null remote=csev session=null<br \/>\nloadSiteList host=http:\/\/localhost:8080 id=csev pw=plug-xyzzy auto=true<br \/>\nsession=null host=null user=null placement=null<br \/>\nFirst Name=null<br \/>\nLast Name=null<br \/>\nEMail=null<br \/>\nPortal Login http:\/\/localhost:8080\/sakai-axis\/SakaiPortalLogin.jws id=csev pw=plug-xyzzy<br \/>\nSakiaPortalLogin.login()<br \/>\nSakaiPortalLogin.loginAndCreate id=csev pw=plug-xyzzy sec=<br \/>\nSakaiPortalLogin.loginAndCreate ip=127.0.0.1 portalIP= IPCheck=<br \/>\nfn=null ln=null em=null ip=127.0.0.1Exception:Failed login<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is my install log for a fresh check out of Sakai getting 168 to work.<\/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-263","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\/263","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=263"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":2374,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/263\/revisions\/2374"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}