Sakai/OSPortfolio

ID #1035

What are $SAKAI_HOME and $CATALINA_HOME environmental variables for?

Good question.

Sakai will look in $CATALINA_HOME/sakai for the "sakai.properties" file unless you tell it to look elsewhere, and elsewhere is specified by the $SAKAI_HOME variable. (If you don't specify $SAKAI_HOME then it defaults to $CATALINA_HOME/sakai.)

For example: if your Tomcat is in /usr/local/tomcat and under there you have sakai/sakai.properties, you can set up your variables like this:

export CATALINA_HOME=/usr/local/tomcat
# the following is unnecessary/redundant/explicit statement of the default:
export SAKAI_HOME=$CATALINA_HOME/sakai

If your sakai.properties is, say, under ~sakai instead, you would set your variables like this, instead:

export CATALINA_HOME=/usr/local/tomcat
export SAKAI_HOME=~sakai

As long as the Tomcat executables are inside $CATALINA_HOME/bin, and you can edit $SAKAI_HOME/sakai.properties, you're all set.


This applies to Sakai version 2.4 and probably others as well.

OSP is an open-source electronic portfolio built into Sakai, which is an open-source collaboration and learning environment.

Categories for this entry

Last update: 2008-07-09 16:51
Author: will trillich
Revision: 1.2

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 3.16 out of 5 (45 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry