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.

Torsten



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to