Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

  1. Note: Always do a fresh install of Tomcat
  2. Download tomcat 5.5 - http://tomcat.apache.org/download-55.cgi
    • Windows users should get the zip file instead of installing a service
      It makes viewing the tomcat logs easier and it is easier to configure
  3. Extract to /opt (symlink the apache-tomcat-5.5.x directory to tomcat after extracting)
    • Windows users should just rename the directory since they cannot symlink
  4. Download the java 1.4.2 compat patch (compat.zip)
  5. Extract the files to the same location as tomcat itself
  6. Modify conf/server.xml for international character support
    1. Add URIEncoding="UTF-8" to the Connector element
      • <Connector port="8080" URIEncoding="UTF-8" ...
  7. Set environment variable: CATALINA_HOME=/opt/tomcat
  8. Add $CATALINA_HOME/bin to PATH
  9. Setup the SETENV file in the tomcat/bin directory with JAVA_OPTS (from Install Java 1.5)
    1. Mac/Linux: Create a file called setenv.sh with the following:
      export JAVA_OPTS="-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true"
      
    2. Windows(PC): Create a file called setenv.bat with the following:
      set JAVA_OPTS=-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true
      
  • No labels