Tomcat Context Xml Configuration - r911

Tomcat supports either directly deploying WAR files to the webapps directory or deploying contexts. Deploying XML describing a context gives an opportunity pass configuration details to reviki.

Further details can be found in the tomcat documentation.

An example context file is in SVN here. You'll probably want to change the docBase and Parameter value to absolute paths and copy it to tomcat/conf/Catalina/localhost/reviki.xml.

Configuration parameters

reviki-data-dir

This should be a the path to a directory where reviki can store its data. If this is not provided 'reviki-data' in the home directory of the user running tomcat will be used.

javax.servlet.jsp.jstl.fmt.timeZone

This configures the timezone in which date / times are output to the user. Example values: US/Central, Europe/London.