Bug#956804:

2023-02-21 Thread Valerio Bozzolan
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

Bug#956804:

2023-02-21 Thread Valerio Bozzolan
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

Bug#956804: tomcat9: No way to set CATALINA_OPTS as catalina.sh environment variable

2020-11-25 Thread Radosław Józwik
> 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

Bug#956804: tomcat9: No way to set CATALINA_OPTS as catalina.sh environment variable

2020-11-23 Thread Emmanuel Bourg
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

Bug#956804: tomcat9: No way to set CATALINA_OPTS as catalina.sh environment variable

2020-04-15 Thread Radosław Józwik
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", #