[Deploying Sakai] sakai installation problem

Mike De Simone michael.desimone at rsmart.com
Wed Jul 7 15:31:07 PDT 2010


also in step 6, you can specify java runtime variables in several places.
Since tomcat by default sources setenv.sh, I usually create the executable
file setenv.sh in the bin directory and put in what variables I need.  If
you're running with JDK6, you'll need something like this as the contents of
setenv.sh:

JAVA_OPTS="-server -Xmx1500m -XX:MaxNewSize=384m -XX:MaxPermSize=512m
-Djava.awt.headless=true"
CATALINA_PID="$CATALINA_HOME/cle.pid"
JAVA_OPTS="$JAVA_OPTS
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
-Dhttp.agent=Sakai-News-Tool"
JAVA_OPTS="$JAVA_OPTS -Dsun.lang.ClassLoader.allowArraySyntax=true"

# in your case, you will have an additional line like:
JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=cache.some.domain
-Dhttp.proxyPort=8080"



Thanks,

-------------------------------
Mike DeSimone
Sr. Technical Consultant
rSmart
tel: 602-490-0473
icq: 161896611


On Wed, Jul 7, 2010 at 05:32, Jean-Francois Leveque <
jean-francois.leveque at upmc.fr> wrote:

> Hi,
>
> I haven't checked the way you change ports.
>
> Step 10 seems wrong because I think you shouldn't build the Sakai source
> within Tomcat. Please check the documentation regarding this and tell us
> if there's anything missing.
>
> It seems you're not building the binaries from the source.
>
> You may be mixing the install from binaries with the install from source.
>
>
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)<http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+%282.7%29>
> has differing steps from
>
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+(2.7)<http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+%282.7%29>
>
> Please choose one or the other.
>
> Tapas Mishra a écrit :
> > Hi,
> > I was not able to get Sakai up and running as you said in previous
> messages.
> >
> > I have described all steps see if you find any mistake in any of them.
> >
> > I am using Ubuntu 10.04 and I do not have a GUI to the said machine
> > just an SSH console on LAN.
> >
> > Step 1)
> > I downloaded apache-tomcat-5.5.29 in /root/lmses/test/
> >
> > Step 2 ) extracted and went to following
> > /root/lmses/test/apache-tomcat-5.5.29/conf
> >
> > Step 3) Downloaded sakai-2.7  binary
> >
> > Step 4) verified Java 1.6 is installed and JAVA_HOME is set in
> /root/.bashrc
> >
> > export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.20
> > java -version gives following output
> >
> > java version "1.6.0_20"
> > Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
> >
> > Step 6)
> > Checked page
> >
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)<http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+%282.7%29>
> >
> > there is a section
> > Specify an HTTP Proxy (optional)
> > I am in a network which has a proxy
> > you have not mentioned where can I find the variable
> > -Dhttp.proxyHost=cache.some.domain
> > -Dhttp.proxyPort=8080
> >
> > which file can I find them.
> >
> > Step 7) Opened /root/lmses/test/apache-tomcat-5.5.29/conf/server.xml
> > and changed value of following
> > Server port="9005"
> >
> > Connector port="9090"
> >  redirectPort="9443"
> >
> > there was one more line where following  Connector port was mentioned
> > as 8009 so changed to
> >  <Connector port="9009"
> >               enableLookups="false" redirectPort="9443"
> protocol="AJP/1.3" />
> >
> > Step 8) In another file  in same directory server-minimal.xml
> >
> > Changed
> > Server port="9005"
> >
> >
> > Connector port="9090"
> >
> > there is one more line where following was mentioned as 8009
> > <Connector port="9009" protocol="AJP/1.3" />
> >
> > Step 9) I checked on LAN http://192.168.1.5:9090
> > Got a Tomcat welcome page
> >
> >
> > Step 10) executed
> > svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.7.0 sakai
> > from tomcat root
> > /root/lmses/test/apache-tomcat-5.5.29/
> >
> > Now I have the full directory structures
> >
> > access        blog       content-review
> > framework-shared-deploy  login        osp        presence    roster
> >   taggable        warehouse
> > alias         calendar   core-deploy                gradebook
> >      mailarchive  pack-demo  providers   rwiki        textarea
> > was
> > announcement  chat       courier                    help
> >      master       podcasts   reference   sections     tool
> > web
> > archive       citations  dav                        jstl-shared-deploy
> >      memory       pom.xml    reports     site         user
> > webservices
> > assignment    config     ECLv2-header-template.txt  kernel-deploy
> >      message      portal     reset-pass  site-manage  usermembership
> > authz         content    ECLv2.txt                  linktool
> >      metaobj      postem     rights      syllabus     velocity
> >
> >
> >
> > otherwise the binary files were not having them.
> >
> > Step 11) Checked if sakai.properties exist
> >
> > find ./ -name sakai.properties
> >
> >
> >
> /providers/cm-authz-integration-test/src/test/resources/enrollment-only-configuration/sakai.properties
> >
> ./providers/cm-authz-integration-test/src/test/resources/default/sakai.properties
> > ./reference/docs/sakai.properties
> > ./reference/demo/sakai.properties
> >
> >
> > Step 12) Changed /reference/docs/sakai.properties and copied it to
> > /root/lmses/test/apache-tomcat-5.5.29/sakai/sakai.properties
> >
> > ( I see a directory named portal in here)
> > but when I checked
> >
> > http://192.168.1.5:9090
> >
> > the server which has above line for sakai is not having a monitor
> > attached so is locahost correct for that or should  I replace it with
> > IP of remote server.
> > serverName is localhost
> >
> > Step 13 ) I checked http://192.168.1.5:9090/portal
> > the url was not found
> >
> > what mistake did I did in above.
> >
> >
> >
> > --
> > _______________________________________________
> > production mailing list
> > production at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/production
> >
> > TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
> --
> Jean-Francois Leveque
> Sakai CTO
> University Pierre and Marie Curie
> France
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
>
> TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20100707/0c4852f3/attachment.html 


More information about the production mailing list