Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread David Smith
Tomcat's database pooling implements a slightly refactored version of the Commons DBCP project -- packages were renamed to avoid conflicts should a developer decide to use the Commons DBCP library in their own app. You can find a complete list of possible attributes for the Resource definition

RE: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > type="javax.sql.DataSource" > maxActive="100" maxIdle="30" m

RE: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > BUT: It is running and yet my META-INF/context.xml > still contains the path and docBase attributes. In your case, they are probably b

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
Chuck, Thanks. As Dave pointed out, my core difficulty was a permissions problem. BUT: It is running and yet my META-INF/context.xml still contains the path and docBase attributes. Where can I read up on what should be in META-INF/context.xml ?? RE: By intercepting and discarding the orig

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
David, Bingo! Right on: Changed all permissions (chown -R tomcat myapp), and dropped the mysql jar from WEB-INF/lib, and it all works. Many thanks! I do hate it when I forget simple stuff like permissions. Moving things from Windows to *nix always does that to me. Side note question: Am

RE: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Datasource: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' > > MyApp AppListener: ENTER > DAOBaseData: Cannot load JDBC driver class > 'com.mysql.jdbc.Driver' By intercepting and discarding the original except

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread David Smith
Don't 'copy' the mysql driver from WEB-INF/lib to TOMCAT_HOME/common/lib -- move it. It cannot be in both places at once. Also be sure the permissions are set correctly so tomcat can read the jar and be sure you've restarted tomcat after the move so the classloaders pick it up properly. I ha