> From: Alex [mailto:devns...@gmail.com] 
> Subject: How to solve "To prevent a memory leak"

> The webapp work as it should, but on shutdown or restart the apache 
> tomcat server I always get following output.

> The webapp is not stopped and I have to kill the process manually.

> How can I solve this?

Fix your webapp to properly dispose of any threads it starts.  Since your 
webapp started them, it's up to your webapp to stop them.  You probably want to 
use an appropriate lifecycle listener (as defined in the servlet spec) to do 
the necessary housekeeping.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to