tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yongqin Xu <yong...@hotmail.com>
Subject RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?
Date Tue, 03 May 2011 03:24:14 GMT

Thank you=2C Chris=2C in catalina.properties file=2C I also saw shared.load=
er property=2C  as you know=2C the TC7 doc says "System"=2C "Common"=2C and=
 "Webapp" classloaders. If "common.loader" map to common classloader=2C wha=
t "shared.loader" get map to?=20
And are those  ${catalina.base} and ${catalina.home} built-in placeholder f=
or TC7?

> Date: Thu=2C 28 Apr 2011 11:06:01 -0400
> From: chris@christopherschultz.net
> To: users@tomcat.apache.org
> Subject: Re: tomcat 7: is it possible to config tomcat common classloader=
 to point to other location?
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Yongqin=2C
>=20
> On 4/26/2011 6:57 PM=2C Yongqin Xu wrote:
> > I am using TC 7=2C and the doc says=2C 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=2C will
> > $CATALINA_BASE/lib be used for TCcommon classloader to pick up there?
>=20
> Take a look at conf/catalina.properties:
>=20
> common.loader=3D${catalina.base}/lib=2C${catalina.base}/lib/*.jar=2C${cat=
alina.home}/lib=2C${catalina.home}/lib/*.jar
>=20
> Looks like both are used.
>=20
> You can define this property to be anything you'd like=2C including addin=
g
> another directory somewhere else without disturbing anything.
>=20
> 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=2C be sure to explicitly document what you're doing.
>=20
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>=20
> iEYEARECAAYFAk25glkACgkQ9CaO5/Lv0PDdTQCdGIjx93eqJl8/qr6ZjjcW41kQ
> zXMAn0sSANteGM+OWHCvvWxBK2os+13a
> =3Dkfal
> -----END PGP SIGNATURE-----
>=20
> ---------------------------------------------------------------------
> To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands=2C e-mail: users-help@tomcat.apache.org
>=20
 		 	   		  =

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message