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/ 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.
Thanks for the explanation, I was just confused, because the variable was
replaced correctly
On startup only.
and sending the shutdown command manually did also work.
Because the port was bound properly on startup, "telnet" always works.
The port number wasn't available on shutdown because the system property
was only set for startup, not shutdown. For "telnet", you were
manually-providing the port number on the command-line :)
Thanks,
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org