Now where should the attribute/value (such as the provided exemple) go?
CATALINA_OPTS="-server -Xms800m -Xmx1600m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
I have read about a setenv.sh file that should exist or be created, I have no clue if it is relevant here, nor where it should be installed.
I have browsed all directories in the Debian VM. My best guess would be to create one setenv.sh file under /usr/share/tomcat9/bin
but what? Is that the right way?
I have also found a script named catalina.sh
under /usr/share/tomcat9/bin/
where there seem to be options.
The comment states:
# Do not set the variables in this script. Instead put them into a script
# setenv.sh in CATALINA_BASE/bin to keep your customizations separate
Now I need to find which one is the *CATALINA_BASE*
directory.
It would be nice to add this information to your documentation.
Thanks for your help.