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: tomcat 5.5.25 shared lib and sharing webapp jars
Date Fri, 09 Oct 2009 19:22:12 GMT
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Subject: RE: tomcat 5.5.25 shared lib and sharing webapp jars
> 
> Sorry, I think I used poor wording there.  Should have used something
> like "instances of classes loaded by a webapp's classloader".  So you
> don't have to look at the classloaders themselves, just classes of the
> webapp.  If a class under consideration for sharing keeps any
> references to objects of a webapp (e.g., for callbacks), that class
> really isn't appropriate for sharing.

Also be aware that any static fields or singleton objects in the shared classes really will
be shared by each webapp, whereas before each webapp had its own copy.

 - 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