Posts

Showing posts from May, 2020
Tomcat server  1.        Set autoDeploy = false.  This will apply to the /conf/server.xml a.        This addresses an issue where if autoDeploy=true, and there is a failed deploy, DS files get deleted, and prevents hot deploys if war file is prestaged. 2.        Add XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath= java options. This will apply to /home/tomcat/<JVM_NAME/bin/setenv.sh a.        Produce heapdumps realtime, instead of manually after the fact. 3.        Remove -verbose:gc java option a.        logs duplicate gc logs in Catalina.out Tomcat server needs to restart to effect the above changes.