On Thu, Oct 15, 2009 at 5:50 PM, Brian Levine <[email protected]> wrote:

> I'm using tomcat 5.5 and mysql 5.x.

>  [org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of 
> class '' for connect URL 'null'

MySQL driver jar file should be in $CATALINA_HOME/common/lib
and ONLY there, not in your webapp's lib directory -- confirmed?

> I removed the "docBase" and "path" attributes from the "Context" element 
> because I saw something in the tomcat docs that says leaving those in will 
> mess up the deployment.

No, they're just ignored if they're in a META-INF/context.xml file. But
good to get them out of there. :-)

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

Reply via email to