Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-22 Thread Chuck Carson
When I move my datasource definition to the web.xml file for my webapp, I get nothing. When I use the Tomcat manager app and drill down into Service-Host-Context (testapp1)-Resource-DataSources I see my jdbc/MysqlTest1 datasource defined but all the parameters associated with it are blank.

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-22 Thread Robert Bateman
I think I see the problem... Those 2 definitions need to be over in your context.xml. Context.xml is located in META-INF/context.xml It appears you have the definitions in web.xml within WEB-INF/web.xml, which I believe is incorrect. Bob On Wednesday 22 September 2004 02:19 pm, Chuck

Mysql JDBC Drivers: Use 2.x or 3.x?

2004-09-20 Thread Chuck Carson
I am starting to build an application using Tomcat 5.0x and am having problems getting the connection pool setup. Should I be using the 3.x or 2.x Mysql drivers? The 2 files I have downloaded are: mysql-connector-java-2.0.14.tar.gz mysql-connector-java-3.0.15-ga.tar.gz I am currently trying to

Re: Mysql JDBC Drivers: Use 2.x or 3.x?

2004-09-20 Thread Robert Bateman
we are using a combination of 3.0.8-stable and 3.0.14-production on our servers. The jar files are placed into the same folder you have placed yours. What connect string are you using? Bob On Monday 20 September 2004 05:48 pm, Chuck Carson wrote: I am starting to build an application using

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-20 Thread Chuck Carson
--- Robert Bateman [EMAIL PROTECTED] wrote: we are using a combination of 3.0.8-stable and 3.0.14-production on our servers. The jar files are placed into the same folder you have placed yours. What connect string are you using? Bob I am basically just trying to setup a connection

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-20 Thread Robert Bateman
Chuck, I think you need to move your connection pooling over to your context.xml at the web application level. Here is my pool definition from one of my apps: Resource name=jdbc/MySQL_Sequoia_Admin scope=Shareable type=javax.sql.DataSource/ ResourceParams

Re: Mysql JDBC Drivers: Use 2.x or 3.x? (Kinda Long, sry)

2004-09-20 Thread Chuck Carson
--- Robert Bateman [EMAIL PROTECTED] wrote: Chuck, I think you need to move your connection pooling over to your context.xml at the web application level. Here is my pool definition from one of my apps: Resource name=jdbc/MySQL_Sequoia_Admin scope=Shareable