Hi there,
I know it's an old
thread, but I've just come to the same problem while embedding tomcat 7.0.4. When sending shutdown signal, or calling server.stop() everything is shut down as expected except the two aforementioned threads. When I shut down my whole
java app, they quit as they're daemons.
But I would like to be able to completely shut down embedded tomcat and start another instance without quitting my app.
Is it possible?
In the tomcat changelog I found the following:
fix Make sure acceptor threads are stopped when the connector is stopped. (markt)
fix Make sure async timeout thread is stopped when the connector is stopped. (markt)
Does this mean that this problem is solved? Then why is it happening to me?
Thanks in advance!