Re: Tomcat can't find JDBC Driver listed under Maven

2015-08-29 Thread Sreyan Chakravarty
Thanks Christopher but I have solved the problem. It seems when you are using the Maven archetype for webapp you have to manually create a META-INF in the /src/main/webapp directory and place the context.xml there. And I have partly solved the issue. Will get back to you. Regards Sreyan Chakravar

Re: Tomcat can't find JDBC Driver listed under Maven

2015-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 8/28/15 3:11 PM, Sreyan Chakravarty wrote: > Okay I am trying to use connection pooling for my project which > uses Maven as a build tool. Now the JDBC Driver is listed as a > maven dependency. Tomcat however cant find it when I try to do

Tomcat can't find JDBC Driver listed under Maven

2015-08-28 Thread Sreyan Chakravarty
Okay I am trying to use connection pooling for my project which uses Maven as a build tool. Now the JDBC Driver is listed as a maven dependency. Tomcat however cant find it when I try to do ds.getConnection (ie. get a JDBC connection from a datasource). The error that I am getting is -: java.sql