Start thread as deamon. For details search the archive or google.
> -----Original Message----- > From: MUKUND Premchander [mailto:[EMAIL PROTECTED] > Sent: Friday, February 13, 2004 1:52 PM > To: [EMAIL PROTECTED] > Subject: SHUTDOWN OF TOMCAT 4.1 .29 and <LOAD-ON-START-UP> > > > My webapplication has a servlet which loads on startup > .This servlet starts a thread > When i shutdown tomcat using shutdown.bat in windows or > using the .sh in unix ,the tomcat console does not close . > When i remove the load on startup and start the > application via the browser to start the thread and then > issue shutdown > .bat , tomcat shuts down without hanging > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]