Skip to content

Instantly share code, notes, and snippets.

@dstarh
Created March 24, 2015 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstarh/62e9b5f7fb10e821ae72 to your computer and use it in GitHub Desktop.
Save dstarh/62e9b5f7fb10e821ae72 to your computer and use it in GitHub Desktop.
# adapt paths:
env JAVA_HOME=/usr/lib/jvm/jdk1.7.0
env CATALINA_HOME=/usr/local/apache-tomcat-7.0.39
env TOMCAT_HOME=/usr/local/apache-tomcat-7.0.39
env TOMCAT_USER=ubuntu
# adapt java options to suit your needs:
env CATALINA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=999m -Dfile.encoding=UTF8"
exec $CATALINA_HOME/bin/catalina.sh run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment