Hi, Thank you for your inputs. I have interrupted and destoryed the thread in the destroy method but the shutdown does not happen completely and the console hangs . I am not able to understand why I don't get this problem when I do not use load on start up for the servlet.
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 7:19 PM To: Tomcat Users List Subject: RE: SHUTDOWN OF TOMCAT 4.1 .29 and <LOAD-ON-START-UP> Howdy, Make sure you interrupt and/or destroy your thread properly under all circumstances. The destroy method of a servlet is one good place to do this, so maybe there's a bug in the code you put there? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: MUKUND Premchander [mailto:[EMAIL PROTECTED] >Sent: Friday, February 13, 2004 7:52 AM >To: [EMAIL PROTECTED] >Subject: SHUTDOWN OF TOMCAT 4.1 .29 and <LOAD-ON-START-UP> > >Hi , > > I am working with tomcat4.1.29 standalone .I need to run it >on UNIX,Linux and Windows . > > 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 > > Can you please give a solution to get me out of this >problem in both Windows and Unix . > Your immediate response will be of immese help > > I also tried stopping the thread in the destroy method >of the servlet but still the shutdown hangs ..(the port 8080 is released >thou ) > > Thanks and Regards > Mukund This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]