Honestly, I'm not that familiar with classloaders...I've never had to deal with them...what would I look at to determine if this danger is likely to be present?
On Fri, Oct 9, 2009 at 1:31 PM, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote: >> From: Curtis Garman [mailto:curt.gar...@gmail.com] >> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars >> >> So are you saying that I shouldn't use the shared lib at all?...or >> just sparingly? > > Sparingly, only for those classes that you are absolutely certain never > retain references to objects that are created by their callers' classloaders. > In particular, never put loggers (e.g., log4j) in shared, because they do > contain such references. > > - 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 > > -- Curtis Garman Web Programmer Heartland Community College --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org