Installing Kuali Rice 1.0.3 Standalone Server

UNIX-Like Operating Environments

Setting Up Apache Tomcat

Once you have downloaded Tomcat , please install it using these steps:

  • Log in as root

  • Copy or download the file apache-tomcat-5.5.27.zip to /opt/software/tomcat using this code:

    cd /opt/software/Tomcat
    unzip apache-tomcat-5.5.27.zip -d /usr/local
    ln -s /usr/local/apache-tomcat-5.5.27 /usr/local/tomcat
    chown -R rice:rice /usr/local/apache-tomcat-5.5.27
    cd /usr/local/tomcat/bin
    chmod -R 755 *.sh
    su - rice
    cd /usr/local/tomcat/bin
    ./startup.sh               
  • You should see something like this:

    Using CATALINA_BASE:	/usr/local/tomcat
    Using CATALINA_HOME:	/usr/local/tomcat
    Using CATALINA_TMPDIR:	/usr/local/tomcat/temp
    Using JRE_HOME:		/usr/java/jdk1.6.0_16                            

Now that Tomcat is running:

  1. To test that Tomcat came up successfully, try to browse to http:// yourlocalip:8080.

  2. If you successfully browsed to http://yourlocalip:8080, then execute this command as the rice user:

    ./shutdown.sh
    Using CATALINA_BASE:	/usr/local/tomcat
    Using CATALINA_HOME:   	/usr/local/tomcat
    Using CATALINA_TMPDIR:	/usr/local/tomcat/temp
    Using JRE_HOME:	 	    /usr/java/jdk1.6.0_16

Warning

At times, Tomcat can have a session related problem with OJB where if you stop the server it won’t start again. This can be fixed by deleting the SESSIONS.ser file in the %TOMCAT_HOME%/work/Catalina/%host name%/%webapp% directory

This can be prevented by setting the saveOnRestart property to be false in the web application’s context.xml file as documented here: http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html.