Torsten,
On 5/5/22 04:14, Torsten Krah wrote:
Am Donnerstag, dem 05.05.2022 um 06:42 +0000 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.
# Include here and not in JAVA_OPTS all options, that should
# only be used by Tomcat itself, not by the stop process,
# the version command etc.
# Examples are heap size, GC logging, JMX ports etc
You need to put "-Dport.shutdown=12345" to the JAVA_OPTS because the
stop process needs that port.
+1
Henning, the reason you get the error message and Tomcat /still/ stops
is because the shutdown process uses an OS signal if the "normal" way
doesn't work. So it's not just a spurious error message: it's real.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org