Thank you, Chris, in catalina.properties file, I also saw shared.loader
property, as you know, the TC7 doc says "System", "Common", and "Webapp"
classloaders. If "common.loader" map to common classloader, what
"shared.loader" get map to?
And are those ${catalina.base} and ${catalina.home} built-in placeholder for
TC7?
> Date: Thu, 28 Apr 2011 11:06:01 -0400
> From: [email protected]
> To: [email protected]
> Subject: Re: tomcat 7: is it possible to config tomcat common classloader to
> point to other location?
>
> -----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: [email protected]
> For additional commands, e-mail: [email protected]
>