This is my install log for a fresh check out of Sakai getting 168 to work.
Set up Maven 2 per this:
http://bugs.sakaiproject.org/confluence/display/ENC/Using+Maven+2Set up Maven 2 per this:
http://bugs.sakaiproject.org/confluence/display/ENC/Using+Maven+2
~/dev csev$ svn co https://source.sakaiproject.org/svn/sakai/trunk/ sakai
~/dev/sakai csev$ svn co https://source.sakaiproject.org/svn/portal/branches/charon_velocity_portal/
Checked out revision 21139.
dhcp-op350-conf-center-west-95-172:~/dev/sakai csev$ svn co https://source.sakaiproject.org/svn/portlet/trunk/ portlet
dhcp-op350-conf-center-west-95-172:~/dev/sakai csev$ vi pom.xml
<module>osid</module>
– <module>osp</module>
+ <!– <module>osp</module> –>
<module>podcasts</module>
– <module>portal</module>
+ <!– <module>portal</module> –>
+ <module>charon_velocity_portal</module>
<module>postem</module>
<module>presence</module>
~/dev/sakai csev$ mvn -o -Dmaven.test.skip=true -Dmaven.tomcat.home=/Users/csev/dev/apache-tomcat-5.5.20/ clean install sakai:deploy
~/dev/sakai/portlet csev$ maven sakai
~/dev/apache-tomcat-5.5.20/common/endorsed csev$ cp ~/dev/save-apache/common/endorsed/xercesImpl.jar .
~/dev/apache-tomcat-5.5.20/common/endorsed csev$ ls -l
xercesImpl.jar -rw-r–r– 1 csev csev 1207073 Feb 8 09:13 xercesImpl.jar
—- START TOMCAT —-
Create a new account in Sakai
Create new worksite in Sakai
In the tool registration you should see things like SakaiLaunch
Simply select one of the portlets
Go to the site and click on the portlet
Do not worry about this log entry – it is from the portlet and it is just whining loudly that
it cannot find a remote web service.
Remote User=csevdoView site.list = null sakai.host=null
autoLogin = null autoDone=null remote=csev session=null
loadSiteList host=http://localhost:8080 id=csev pw=plug-xyzzy auto=true
session=null host=null user=null placement=null
First Name=null
Last Name=null
EMail=null
Portal Login http://localhost:8080/sakai-axis/SakaiPortalLogin.jws id=csev pw=plug-xyzzy
SakiaPortalLogin.login()
SakaiPortalLogin.loginAndCreate id=csev pw=plug-xyzzy sec=
SakaiPortalLogin.loginAndCreate ip=127.0.0.1 portalIP= IPCheck=
fn=null ln=null em=null ip=127.0.0.1Exception:Failed login
If you forget to put xerces in common you will see this in the log.
Feb 8, 2007 9:08:43 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sakai-portlets.war
java.lang.RuntimeException: Could not instantiate parser org.apache.xerces.parsers.SAXParser: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration
at org.exolab.castor.util.LocalConfiguration.getParser(LocalConfiguration.java:332)
at org.exolab.castor.util.LocalConfiguration.getParser(LocalConfiguration.java:263)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:678)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:535)
at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:438)
at org.apache.pluto.descriptors.services.castor.PortletAppDescriptorServiceImpl.getCastorMapping(PortletAppDescriptorServiceImpl.java:102)
at org.apache.pluto.descriptors.services.castor.AbstractCastorDescriptorService.readInternal(AbstractCastorDescriptorService.java:45)
~/dev csev$ svn co https://source.sakaiproject.org/svn/sakai/trunk/ sakai
~/dev/sakai csev$ svn co https://source.sakaiproject.org/svn/portal/branches/charon_velocity_portal/
Checked out revision 21139.
dhcp-op350-conf-center-west-95-172:~/dev/sakai csev$ svn co https://source.sakaiproject.org/svn/portlet/trunk/ portlet
dhcp-op350-conf-center-west-95-172:~/dev/sakai csev$ vi pom.xml
<module>osid</module>
– <module>osp</module>
+ <!– <module>osp</module> –>
<module>podcasts</module>
– <module>portal</module>
+ <!– <module>portal</module> –>
+ <module>charon_velocity_portal</module>
<module>postem</module>
<module>presence</module>
~/dev/sakai csev$ mvn -o -Dmaven.test.skip=true -Dmaven.tomcat.home=/Users/csev/dev/apache-tomcat-5.5.20/ clean install sakai:deploy
~/dev/sakai/portlet csev$ maven sakai
I added this to is my sakai.properties which I took from ~/dev/sakai/reference/demo/sakai.properties
gatewaySiteList=!gateway,mercury,snork
webservices.allowlogin=true
webservice.portalsecret=plug-xyzzy
webservice.portalIP=127.0.0.1
webservice.IPCheck=true
—- START TOMCAT —-
Create a new account in Sakai
Create new worksite in Sakai
In the tool registration you should see things like SakaiLaunch
Simply select one of the portlets
Go to the site and click on the portlet
Do not worry about this log entry – it is from the portlet and it is just whining loudly that
it cannot find a remote web service.
Remote User=csevdoView site.list = null sakai.host=null
autoLogin = null autoDone=null remote=csev session=null
loadSiteList host=http://localhost:8080 id=csev pw=plug-xyzzy auto=true
session=null host=null user=null placement=null
First Name=null
Last Name=null
EMail=null
Portal Login http://localhost:8080/sakai-axis/SakaiPortalLogin.jws id=csev pw=plug-xyzzy
SakiaPortalLogin.login()
SakaiPortalLogin.loginAndCreate id=csev pw=plug-xyzzy sec=
SakaiPortalLogin.loginAndCreate ip=127.0.0.1 portalIP= IPCheck=
fn=null ln=null em=null ip=127.0.0.1Exception:Failed login