Package: tomcat9 Version: 9.0.16-4 Severity: normal Dear Maintainer,
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. -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tomcat9 depends on: ii lsb-base 10.2019051400 ii systemd 241-7~deb10u3 ii tomcat9-common 9.0.16-4 ii ucf 3.0038+nmu1 Versions of packages tomcat9 recommends: ii libtcnative-1 1.2.21-1 Versions of packages tomcat9 suggests: pn tomcat9-admin <none> pn tomcat9-docs <none> pn tomcat9-examples <none> pn tomcat9-user <none> -- Configuration Files: /etc/cron.daily/tomcat9 changed [not included] -- no debconf information