Le 2020-04-15 14:35, Radosław Józwik a écrit :
there is no way to set CATALINA_OPTS environment variable to be used
by catalina.sh
startup script. As described in catalina.sh source:
# CATALINA_OPTS (Optional) Java runtime options used when the
"start",
# "run" or "debug" command is executed.
It is working in tomcat8 package from Debian 9 by setting CATALINA_OPTS
in /etc/default/tomcat8.
Hi Radosław, you should use JAVA_OPTS instead of CATALINA_OPTS in
/etc/default/tomcat9 as documented in the file. I don't think
CATALINA_OPTS has ever been intended to be supported in
/etc/default/tomcat<n>.
Emmanuel Bourg