Set Memory Pool

Dec 16, 2013
1 min read
Jul 5, 2023 05:58 CEST

Edit the file <tomcat_home/conf/setenv.local:

export JAVA_OPTS="-Xms128m -Xmx1024m -XX:MaxPermSize=256m $JAVA_OPTS"

Create .war Files

Go into the directory where the application is, e.g. <tomcat_home>/webapps/example and execute:

jar -cfv example.war *