I just want to mention that, I don't see ANY way at all to expose any
custom environment variable to the Tomcat process itself.
Feature? Unsure.
AFAIK If you push an environment variable inside your catalina.sh, (for
example via the previously mentioned setenv.sh), that variable just die
in catal
Reading this discussion, I see that at the moment there is not any
official way to declare and expose an environment variable to
"catalina.sh".
I mean, for example, if you need to define this env:
(note, it's not a system property):
MY_CUSTOM_APPLICATION_SECRET=123
In short, this is the current
> 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.
Hello,
I'm already using JAVA_OPTS as a workaround, but I thought CATALINA_OPTS
shou
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
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",
#
5 matches
Mail list logo