Veera Sundar I will post this question in Tomcat forum. Thanks for the suggestion. :-)[/QB]
Oops, sorry dont do that. This is not correct according to
this javaranch policy. Moderators may do this, if they think that this is not the correct forum for this question.
Ulf: Are you specifying that the Timer should be run as a daemon in the constructor? That's required to be able to shut it down.
Ulf, correct me if i am wrong, marking it as Daemon will make the JVM exit when only daemon threads are running. Does Tomcat keeps an account as to which thread is created by which webapp and interrupt it when that webapp is stopped/undeployed?
[ January 11, 2008: Message edited by: Nitesh Kant ]