tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Exeptions after upgrading to tomcat 7
Date Sun, 26 May 2013 13:14:47 GMT
> From: Leon Rosenberg [mailto:rosenberg.leon@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message