Hi all,

When stopping tomcat (stop()), it does
call org.apache.catalina.core.StandardService#stopInternal which tries a
graceful shutdown on the protocol->endpoint so we end up
in org.apache.tomcat.util.net.NioEndpoint#doCloseServerSocket but the
endpoint is in running=true state so acceptor thread (Acceptor class) will
consider it as an error and log an error.

Is it intended? Should we use stopping_prep state to identify the error can
be ignored?

Romain Manni-Bucau
@rmannibucau <https://x.com/rmannibucau> | .NET Blog
<https://dotnetbirdie.github.io/> | Blog <https://rmannibucau.github.io/> | Old
Blog <http://rmannibucau.wordpress.com> | Github
<https://github.com/rmannibucau> | LinkedIn
<https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/en-us/product/java-ee-8-high-performance-9781788473064>

Reply via email to