Re: AW: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Christopher Schultz
Henning, On 5/5/22 09:27, Boesch, Henning (G-GPPD) wrote: Hello Torsten, hello Chris You need to put "-Dport.shutdown=12345" to the JAVA_OPTS because the stop process needs that port. Thanks for the answer, this worked for me. Henning, the reason you get the error message and Tomcat /still

AW: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Boesch, Henning (G-GPPD)
Hello Torsten, hello Chris > You need to put "-Dport.shutdown=12345" to the JAVA_OPTS because the > stop process needs that port. Thanks for the answer, this worked for me. > Henning, the reason you get the error message and Tomcat /still/ stops is > because the shutdown process uses an OS sig

Re: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Christopher Schultz
Torsten, On 5/5/22 04:14, Torsten Krah wrote: Am Donnerstag, dem 05.05.2022 um 06:42 + schrieb Boesch, Henning (G-GPPD): export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" The docs have this: # CATALINA_OPTS (Optional) Java runtime options used when the "start", #

Re: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Torsten Krah
Am Donnerstag, dem 05.05.2022 um 06:42 + schrieb Boesch, Henning (G-GPPD): > export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" The docs have this: # CATALINA_OPTS (Optional) Java runtime options used when the "start", # "run" or "debug" command is executed. #

Variables in server.xml leads to error when stopping Tomcat

2022-05-04 Thread Boesch, Henning (G-GPPD)
Hello, we are running Tomcat 9.0.62 on AIX 7.2. In our server.xml we use variables for ports and other values: ... The variables are set in setenv.sh (the port is an example): export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" Tomcat is starting with this configuration and working c