Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Jeremy Heiler
I am using Tomcat 7 and having it manage my database connections with its DBCP implementation. In the past I have put ojdbc14.jar in $CATALINA_HOME/lib, which has been fine. However, some applications are being upgraded to Oracle 11g and require the ojdbc6.jar instead. If I take the jar out of

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Jeremy Heiler
On Tue, Oct 9, 2012 at 4:56 PM, Andrew Todd andrew.todd...@gmail.com wrote: On Tue, Oct 9, 2012 at 10:37 AM, Jeremy Heiler jeremyhei...@gmail.com wrote: Every resource I've read thus far has said that the driver jar must be in $CATALINA_HOME/lib or DBCP wont work. Can you provide a link

Re: Tomcat managed connections (DBCP) with driver in web application.

2012-10-09 Thread Jeremy Heiler
On Tue, Oct 9, 2012 at 5:46 PM, Christopher Schultz ch...@christopherschultz.net wrote: Are you sure you're not just getting the global driver and it happens to work properly? There is no global driver because I took the jar out of $CATALINA_HOME/lib before running the test and restarted the