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 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.

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


p

> -chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to