tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: Self-Contained Web Applications
Date Fri, 25 Jun 2010 20:59:06 GMT
On 25/06/2010 19:06, Christopher Schultz wrote:
> 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 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.

Which part of the container hierarchy would the DataSource be attached to?


> -chris

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message