tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat 7: is it possible to config tomcat common classloader to point to other location?
Date Thu, 28 Apr 2011 15:06:01 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yongqin,

On 4/26/2011 6:57 PM, Yongqin Xu wrote:
> I am using TC 7, and the doc says, TC common classloader load
> $CATALINA_HOME/lib for thosecommonly shared lib jar files. Is it
> possible for me to config it pointing to other location? I know ifI
> define $CATALINA_BASE to point to a outside location, will
> $CATALINA_BASE/lib be used for TCcommon classloader to pick up there?

Take a look at conf/catalina.properties:

common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar

Looks like both are used.

You can define this property to be anything you'd like, including adding
another directory somewhere else without disturbing anything.

Note that changing catalina.properties will be surprising to anyone who
tries to debug your Tomcat installation after you move-on to another
job. So, be sure to explicitly document what you're doing.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk25glkACgkQ9CaO5/Lv0PDdTQCdGIjx93eqJl8/qr6ZjjcW41kQ
zXMAn0sSANteGM+OWHCvvWxBK2os+13a
=kfal
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message