Tomcat and daemon threads 2007-01-12 - By Aditya Prasad
Back Hi All,
The recent "Tomcat shuts down thread" discussion reminds me of a problem I had to work around but whose cause I never figured out:
It used to be that if I started any (non-daemon) threads from a request thread, they wouldn't go away when shutdown.sh was invoked. The JVM would stay up, as expected. Now, those threads exit silently (no InterruptedException or anything) whenever Tomcat goes down (via shutdown.sh or any signal, including SIGTERM / SIGHUP).
I don't recall changing any configuration between the two scenarios. Does anyone know what might be causing this?
Thanks! Aditya
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|