Howdy, Search the list archives on AIMS for "shutdown thread daemon" and you'll see many threads with this information.
Read the VM documentation on using CTRL-BREAK (or SIGQUIT) to get a thread dump. This will show you what the lingering processes are, so you can kill them. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Philipp Leusmann [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 3:37 PM >To: Tomcat Users List >Subject: AW: Many java-processes left after shutdown.sh > >Hi, > >thanks for your answer first. >I think i?ve removed the database now, but I still have a similiar problem >with a mailsession to an imap-server I create in >ContextListener.contextInitialized(). I put this session into the >servlet-cotext to easily write mails or provide mailbox-creation during >runtime. I also remove the session in contextDestroyed(), but still there >are java-processes. >What do you mean with "Use CTRL-break"? >I am sorry that I ask again here, but I couldn?t find a thread which >exactly >describes my problem. ( There was one about daemon/non-daemon-threads which >was not very helpful. Did you mean that one? If not, it would be great if >you could give me the subject of the thread. > >Thanks, > Philipp > >> -----Ursprungliche Nachricht----- >> Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] >> Gesendet: Montag, 4. August 2003 15:18 >> An: Tomcat Users List >> Betreff: RE: Many java-processes left after shutdown.sh >> >> >> >> Howdy, >> >> >when I stop tomcat using shutdown.sh there are still many >> tomcat-processes >> >running in linux. Is this normal or do I have a configuration problem >> >(contexts are not closed properly)? >> >I use a connection pool to a Mysql-database in my application >> >(BasicDatasourceFactory). Do I have to close these connections somehow >> >manually? >> >> There are non-daemon background threads for MySQL. Ensure proper >> shutdown of the connection pool/driver. Use CTRL-Break to see what >> threads are doing in the JVM. Search the archives for this list as this >> question has come up and been answered a few times, including two weeks >> ago. >> >> Yoav Shapira >> >> >> >> 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] 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]
