tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Chad.Da...@emc.com>
Subject RE: daemon thread causing tomcat process to live on
Date Tue, 05 Jun 2012 13:58:07 GMT

> 
> On 6/4/12 5:29 PM, Chad.Davis@emc.com wrote:
> > I've got a daemon thread that seems to run after the tomcat has
> > received the shutdown signal.  It's a TimerTask and it appears to fire
> > again after the webapp itself has been shutdown.  This then seems to
> > cause the whole jvm to live on, sometimes for a couple of minutes,
> > sometimes much longer.
> >
> > The timertask blows up with classnotfounds because the webapp
> > classloader is gone.  Shouldn't it be killed when the webapp is
> > killed?
> 
> Tomcat won't stop threads created by your webapp: that's up to you.

Even a daemon thread?  I thought a daemon thread wouldn't stop a jvm from exiting . . . 
 


Mime
View raw message