tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Self-Contained Web Applications
Date Fri, 25 Jun 2010 18:06:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 6/25/2010 12:44 PM, Pid wrote:
> On 25/06/2010 17:02, Christopher Schultz wrote:
>> All,
>>
>> While reading another thread ("What's going on ... ?"), I started to
>> think about how inconvenient it is to have to put your JDBC driver into
>> the server's lib directory. As it stands, now, all webapps must share
>> the same version of the same driver, and the main installation of Tomcat
>> (or scion, when using CATALINA_BASE) must be modified from the default
>> in order to deploy your application :(
> 
> You can define a lib dir under CATALINA_BASE and Tomcat will load jars
> from there by preference over CATALINA_HOME, no?

Only if you modify catalina.policy.

> If it doesn't do it by default you can modify catalina.properties so it
> does.

Right: I'm trying to avoid this. It would be cool if a WAR file using
container-managed DataSource could be deployed into a factory-fresh
Tomcat install. Specifically, without dropping the JDBC library JAR file
into the server's lib directory, and instead using the WAR's WEB-INF/lib
directory.

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

iEYEARECAAYFAkwk8BcACgkQ9CaO5/Lv0PDptgCgjn5SZcUE4eD4h3oPc2kX8MHZ
U8oAn3Y1EPtzHBHM6uLKlztmvQu9HgNe
=7YyJ
-----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