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
Thanks again, Ken Bowen Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' Take out the path and docBase attributes - they're not allowed when using META-INF/context.xml. (

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

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

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

2007-09-16 Thread Ken Bowen
Hello, I'm working on a CENTOS 5 Linux setup. I'm trying to avoid the pre-loaded tomcat which was installed in /usr/share/tomcat5. I downloaded (from apache) and installed tomcat5.5.25 and installed it in /opt/tomcat5. I made sure the existing tomcat is not running and I renamed /usr/share/tom