Set Memory Pool

Dec 16, 2013
1 min read
Jun 30, 2023 16:33 EEST

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 *