Set Memory Pool

Dec 16, 2013
1 min read
May 27, 2023 09:13 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 *