Сервис Tomcat

# cp target/cas.war /var/lib/tomcat8/webapps/

# cat /usr/share/tomcat8/bin/setenv.sh
export CATALINA_OPTS="$CATALINA_OPTS -Xms512m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx4096m"
export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m"