ps: it is in bindoninit=false, if true there seems to be a mismatch between stop and destroy but the log is a similar warning (The acceptor thread [http-nio-xxx-Acceptor] did not stop cleanly)
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> Le sam. 17 mai 2025 à 23:13, Romain Manni-Bucau <rmannibu...@gmail.com> a écrit : > 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> >