roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <hassan.schroe...@gmail.com>
Subject Re: DB connection pooling
Date Fri, 16 Oct 2009 01:08:43 GMT
On Thu, Oct 15, 2009 at 5:50 PM, Brian Levine <levine_brian@hotmail.com> 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 ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

Mime
View raw message