Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Deploying shared .jar's

Christopher Schultz

2006-12-12

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@(protected)]
>> Subject: Re: Deploying shared .jar's
>>
>> Was that feature changed in the 5.0 and later versions? My 4.1.x
>> version allows me to put files into $CATALINA_HOME/common/lib and
>> have them available to all webapps which are deployed in their own
>> CATALINA_BASE's.
>
> Nothing's changed (until 6.0). The original question was specifically
> about the shared directory, and you're using the common directory.

Oh, hey... look at that. I had assumed that "common" was changed to
"shared" as well in the new versions. I didn't realize that you could
pick which one to use.

Does that mean that Dave can put his JAR file into
$CATALINA_HOME/common/lib instead of $CATALINA_HOME/shared/lib and he
will get the desired behavior?

Someone's suggestion of modifying catalina.properties is a little
dangerous, especially when you upgrade and forget to migrate that change.

- -chris

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

iD8DBQFFfr1k9CaO5/Lv0PARAt6eAJ9E4EMMNiMIy6w9PmBIMjRC9u7hkwCgtLfa
OxNT3mOegkGoEdL5Ng2mMWo=
=9ole
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.