> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] 
> Subject: Re: Exeptions after upgrading to tomcat 7

> Remove following lines from server.xml:
>   <!-- Prevent memory leaks due to use of particular java/javax APIs-->
>   <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
>   <Listener
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

This is akin to burying one's head in the sand.  It would be much better to fix 
the actual problem by shutting down the auxiliary thread with an appropriate 
listener.  Sloppy programming should not be encouraged.

 - 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