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: Class loaders line confusion, please help
Date Sun, 20 Jan 2013 15:34:39 GMT
> From: Narahari 'n' Savitha [mailto:savithari@gmail.com] 
> Subject: Class loaders line confusion, please help

> What is the diff between
> common.loader
> or
> shared.loader

> What should be put on which line.

> What is the right approach ?

Don't change either; the shared loader is a left-over from previous versions of Tomcat, and
the common loader already has a properly defined set of search locations.  Put your classes
where they belong, which is usually with each webapp.  Classes that must be visible to Tomcat
are placed in Tomcat's lib directory.  Sharing classes across webapps is a really, really
bad idea.

 - 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