Prerequisites

  1. JDK 1.5.0 or higher
  2. Get a copy of the elatePortal source from our SVN (detailed instructions can be found at https://sourceforge.net/svn/?group_id=154040). Make sure to checkout the trunk version!
  3. Get a copy of the Tomcat servlet container of at least version 5.5.25 at http://tomcat.apache.org/
  4. Follow the instructions provided at the given location to install and setup Tomcat.
    • Change the file {tomcatpath}/conf/server.xml:
      • Add emptySessionPath="true", useBodyEncodingForURI="false" and URIEncoding="UTF-8" as attributes to the appropriate connector element.
    • Change the file {tomcatpath}/conf/context.xml:
      • Add antiJARLocking="true" as attribute to the Context element.
    • Change the file {tomcatpath}/bin/catalina.{sh|bat}:
      • Add the line {set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m" to the top of the file.
      • Add the line {set|export} JAVA_OPTS="-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false" to the top of the file
    • Copy all files from the extracted source code directory {elate}/etc/xml_parser_libs to {tomcat}/common/endorsed. This needs to be done to prevent namespace and versioning problems.
  5. Install the mysql database (version >= 4.1): http://www.mysql.com/
  6. Download the mysql connector library from http://dev.mysql.com/downloads/connector/j/3.0.html , copy it into {tomcatpath}/common/lib
  7. Install the maven build tool (version 1.0.2, incompatible with Maven2): http://maven.apache.org/

back forward