2011/10/18 <chad.da...@emc.com>: > I'm reading Tomcat: The Definitive Guide to learn how to separate your > instance specific files from your core installation, i.e. CATALINE_HOME; this > separation is for providing a clean upgrade path as well as running multiple > instances of tomcat off of the same installation. > > A lot of the stuff they recommend pulling out into instance specific > directories make sense, such as conf and webapps -- those folders contain the > obvious application specific data.
Recommend? What belongs to CATALINA_BASE and what to CATALINA_HOME is fixed. You cannot pull one set of subdirectories and omit some others. :/ There was a change in 6.0.21 (6.0.24 - released 2010-01-21) that now a Tomcat instance looks both into $CATALINA_BASE\lib and $CATALINA_HOME\lib for libraries. It is configurable in conf/catalina.properties So nowadays you would usually leave standard Tomcat libraries in $CATALINA_HOME and your instance-specific ones (e.g. database drivers) in $CATALINA_BASE. Any other libraries are better to be in your webapp's WEB-INF\lib. If they are not, your chances for observing a PermGen memory leak are higher. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org