[Building Sakai] 2.7 Install

Warwick Chapman warwickchapman at gmail.com
Tue Mar 23 05:57:25 PDT 2010


Stephen

I have not, as yet, configured any reverse proxy.  I just want to see Tomcat
delivering content on port 8180 or 8080 (as the install doc suggests).

The build wad done using this command:
mvn clean install sakai:deploy -Dmaven.tomcat.home=$CATALINA_HOME

The install doc follows that the above command will ultimately "deploy Sakai
to Tomcat in the form of *.war files in the $CATALINA_HOME/webapps
 directory".

I know that Tomcat is happy with the $CATALINA_HOME/webapps location because
the index.html in the ROOT folder is being served and attempts to redirect
to /portal which results in a 404.

A listing of $CATALINA_HOME/webapps shows:
ROOT
access
access.war
authn
authn.war
courier
courier.war
dav
dav.war
direct
direct.war
emailtemplateservice-tool
emailtemplateservice-tool.war
imsblti
imsblti.war
jsf-resource
jsf-resource.war
library
library.war
mailtool
mailtool.war
mercury
mercury.war
messageforums-tool
messageforums-tool.war
osp-common-tool
osp-common-tool.war
osp-glossary-tool
osp-glossary-tool.war
osp-jsf-example
osp-jsf-example.war
osp-jsf-resource
osp-jsf-resource.war
osp-matrix-tool
osp-matrix-tool.war
osp-portal
osp-portal-tool
osp-portal-tool.war
osp-portal.war
osp-presentation-tool
osp-presentation-tool.war
osp-wizard-tool
osp-wizard-tool.war
podcasts
podcasts.war
polls-tool
polls-tool.war
portal
portal-render
portal-render.war
portal.war
profile-tool
profile-tool.war
profile2-tool
profile2-tool.war
providers
providers.war
sakai-alias-tool
sakai-alias-tool.war
sakai-announcement-tool
sakai-announcement-tool.war
sakai-archive-tool
sakai-archive-tool.war
sakai-assignment-tool
sakai-assignment-tool.war
sakai-authz-tool
sakai-authz-tool.war
sakai-axis
sakai-axis.war
sakai-axis2
sakai-axis2.war
sakai-blogger-tool
sakai-blogger-tool.war
sakai-calendar-summary-tool
sakai-calendar-summary-tool.war
sakai-calendar-tool
sakai-calendar-tool.war
sakai-chat-tool
sakai-chat-tool.war
sakai-citations-tool
sakai-citations-tool.war
sakai-content-tool
sakai-content-tool.war
sakai-fck-connector
sakai-fck-connector.war
sakai-gradebook-testservice
sakai-gradebook-testservice.war
sakai-gradebook-tool
sakai-gradebook-tool.war
sakai-help-tool
sakai-help-tool.war
sakai-login-tool
sakai-login-tool.war
sakai-mailarchive-james
sakai-mailarchive-james.war
sakai-mailarchive-tool
sakai-mailarchive-tool.war
sakai-memory-tool
sakai-memory-tool.war
sakai-message-tool
sakai-message-tool.war
sakai-metaobj-tool
sakai-metaobj-tool.war
sakai-news-tool
sakai-news-tool.war
sakai-podcasts
sakai-podcasts.war
sakai-postem-tool
sakai-postem-tool.war
sakai-presence-tool
sakai-presence-tool.war
sakai-presentation-tool
sakai-presentation-tool.war
sakai-reports-tool
sakai-reports-tool.war
sakai-reset-pass
sakai-reset-pass.war
sakai-rights-tool
sakai-rights-tool.war
sakai-roster-tool
sakai-roster-tool.war
sakai-rutgers-linktool
sakai-rutgers-linktool.war
sakai-rwiki-tool
sakai-rwiki-tool.war
sakai-sample-tool-jsf
sakai-sample-tool-jsf.war
sakai-sample-tool-servlet
sakai-sample-tool-servlet.war
sakai-search-tool
sakai-search-tool.war
sakai-sections-tool
sakai-sections-tool.war
sakai-site-manage-group-helper
sakai-site-manage-group-helper.war
sakai-site-manage-group-section-role-helper
sakai-site-manage-group-section-role-helper.war
sakai-site-manage-link-helper
sakai-site-manage-link-helper.war
sakai-site-manage-participant-helper
sakai-site-manage-participant-helper.war
sakai-site-manage-tool
sakai-site-manage-tool.war
sakai-site-pageorder-helper
sakai-site-pageorder-helper.war
sakai-site-tool
sakai-site-tool.war
sakai-siteassociation-tool
sakai-siteassociation-tool.war
sakai-syllabus-tool
sakai-syllabus-tool.war
sakai-tool-tool-su
sakai-tool-tool-su.war
sakai-user-tool
sakai-user-tool-admin-prefs
sakai-user-tool-admin-prefs.war
sakai-user-tool-prefs
sakai-user-tool-prefs.war
sakai-user-tool.war
sakai-usermembership-tool
sakai-usermembership-tool.war
sakai-web-tool
sakai-web-tool.war
samigo-app
samigo-app.war
savecite
savecite.war
scheduler-tool
scheduler-tool.war
sitestats-tool
sitestats-tool.war
tool
tool.war
web
web.war
wiki
wiki.war
xsl-portal
xsl-portal.war

-- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com


On Tue, Mar 23, 2010 at 11:42 AM, Stephen Marquard <
stephen.marquard at uct.ac.za> wrote:

> Hi Warwick,
>
> Do you have a load balancer configuration with apache httpd frontend as
> per:
>
>
> http://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Load+Balancing+and+Scaling
>
> Also when you say "everything has been built into $CATALINA_HOME/webapps",
> there is more than webapps - a Sakai deploy will also have components,
> common and some other directories.
>
> The "-server" is probably unnnecessary as the jvm will default to the right
> configuration on high-end systems (multiple CPUs, etc.).
>
> Regards
> Stephen
>
> >>> Warwick Chapman <warwickchapman at gmail.com> 3/23/2010 10:39 AM >>>
> Thanks Steve.  Nothing in the logs of interest from what I can see.
>
> I did just try to restart Tomcat and it failed because of the "-server"
> which is recommended in the JAVA_OPTS environment variable as recommended
> in
> the install documentation.
>
> # /etc/init.d/tomcat5.5 start
> Starting Tomcat servlet engine: tomcat5.5Invalid option -server
> Cannot parse command line arguments
>
> # set | grep server
> JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m
> -XX:MaxPermSize=512m
> -XX:NewSize=192m -XX:MaxNewSize=384m -verbose:gc -XX:+PrintGCDetails
> -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dhttp.agent=Sakai
> -Dsakai.demo=true
> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> -Dsun.lang.ClassLoader.allowArraySyntax=true'
>
> Is that supposed to be there?
>
> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>
>
> On Tue, Mar 23, 2010 at 10:15 AM, Steve Swinsburg <
> steve.swinsburg at gmail.com
> > wrote:
>
> > Hi Warwick,
> >
> > When you start Tomcat, can you also tail catalina.out (tail -f
> > $CATALINA_HOME/logs/catalina.out) and check for any errors? Send them
> along.
> >
> > cheers,
> > Steve
> >
> >
> >
> > On 23/03/2010, at 5:41 PM, Warwick Chapman wrote:
> >
> > Hi All
> >
> > I have successfully compiled 2.7 and everything has been built into
> > $CATALINA_HOME/webapps.
> >
> > I created $CATALINA_HOME/sakai and copied the sample sakai.properties
> file
> > into $CATALINA_HOME/sakai editing as follows:
> > serverId=opportunity
> > serverUrl=http://opportunity.da.org.za:8180
> > serverName=opportunity.da.org.za
> > ui.institution = Democratic Alliance Leadership Academy
> > ui.service = OpportunitySakai
> > smtp at org.sakaiproject.email.api.EmailService=localhost
> >
> > The serverUrl is configured for port 8180 because that's what's
> configured
> > in $CATALINA_HOME/conf/server.xml:
> >     <!-- Define a non-SSL HTTP/1.1 Connector on port 8180 -->
> >     <Connector port="8180" maxHttpHeaderSize="8192"
> >                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> >                enableLookups="false" redirectPort="8443"
> acceptCount="100"
> >                connectionTimeout="20000" disableUploadTimeout="true" />
> >
> > As per 2.6 Install Guide* I have placed a redirect into the
> > webapps/ROOT/index.html but the redirect to
> > http://opportunity.da.org.za/portal, returns a 404:
> >
> > HTTP Status 404 -
> > type Status report
> > message
> > description The requested resource () is not available.
> > Apache Tomcat/5.5
> >
> > Help?
> >
> > *
> >
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+(2.6)
> >
> > -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
> >  _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to
> > sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> > "unsubscribe"
> >
> >
> >
>
>
>
>
> ______________________________________________________________________________________________
>
> UNIVERSITY OF CAPE TOWN
>
> This e-mail is subject to the UCT ICT policies and e-mail disclaimer
> published on our website at
> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
> +27 21 650 4500. This e-mail is intended only for the person(s) to whom it
> is addressed. If the e-mail has reached you in error, please notify the
> author. If you are not the intended recipient of the e-mail you may not use,
> disclose, copy, redirect or print the content. If this e-mail is not related
> to the business of UCT it is sent by the sender in the sender's individual
> capacity.
>
>
> _____________________________________________________________________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100323/cbb56b0a/attachment.html 


More information about the sakai-dev mailing list