Apache Tomcat Unable to Load Mysql Driver
<p>I am working on an application and my app using mysql as DB. Thus I included the mysql jar file in aplication's WEB-INF/loib altinda. Still the c3p0 library is unable to load the mysql database driver for pooling.</p>

<pre><code>&gt; 2016-11-15 15:32:23,464
&gt; [C3P0PooledConnectionPoolManager[identityToken-&gt;188ezpw9ksw669r1vn17m6|1032a547]-HelperThread-#8]
&gt; DEBUG org.apache.catalina.loader.WebappClassLoader-
&gt; loadClass("com.mysql.jdbc.Driver", false) 2016-11-15 15:32:23,464
&gt; [C3P0PooledConnectionPoolManager[identityToken-&gt;188ezpw9ksw669r1vn17m6|1032a547]-HelperThread-#8]
&gt; DEBUG org.apache.catalina.loader.WebappClassLoader-   Searching local
&gt; repositories 2016-11-15 15:32:23,464
&gt; [C3P0PooledConnectionPoolManager[identityToken-&gt;188ezpw9ksw669r1vn17m6|1032a547]-HelperThread-#8]
&gt; DEBUG org.apache.catalina.loader.WebappClassLoader-    
&gt; findClass("com.mysql.jdbc.Driver") 2016-11-15 15:32:23,464
&gt; [C3P0PooledConnectionPoolManager[identityToken-&gt;188ezpw9ksw669r1vn17m6|1032a547]-HelperThread-#8]
&gt; DEBUG org.apache.catalina.loader.WebappClassLoader-   Delegating to
&gt; parent classloader at end:
&gt; org.apache.catalina.loader.StandardClassLoader@21d195ca Nov 15, 2016
&gt; 3:32:23 PM com.mchange.v2.log.slf4j.Slf4jMLog$Slf4jMLogger$WarnLogger
&gt; log WARNING: Could not load driverClass "com.mysql.jdbc.Driver"
&gt; java.lang.ClassNotFoundException: "com.mysql.jdbc.Driver"     at
&gt; org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
&gt;   at
&gt; org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
&gt;   at java.lang.Class.forName0(Native Method)  at
&gt; java.lang.Class.forName(Class.java:190)   at
&gt; com.mchange.v2.c3p0.DriverManagerDataSource.ensureDriverLoaded(DriverManagerDataSource.java:143)
&gt;   at
&gt; com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:173)
&gt;   at
&gt; com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
&gt;   at
&gt; com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
&gt;   at
&gt; com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
&gt;   at
&gt; com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
&gt;   at
&gt; com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
&gt;   at
&gt; com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)   at
&gt; com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
&gt;   at
&gt; com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
</code></pre>