8 messages in com.mysql.lists.javaRe: mysqldatasourcefactory| From | Sent On | Attachments |
|---|---|---|
| joe pribele | 23 Sep 2002 12:14 | |
| Mark Matthews | 23 Sep 2002 12:40 | |
| joe pribele | 23 Sep 2002 13:30 | |
| Mark Matthews | 23 Sep 2002 13:37 | |
| joe pribele | 23 Sep 2002 13:46 | |
| Mark Matthews | 23 Sep 2002 14:13 | |
| Mark Matthews | 23 Sep 2002 15:06 | |
| joe pribele | 23 Sep 2002 15:26 |
| Subject: | Re: mysqldatasourcefactory![]() |
|---|---|
| From: | Mark Matthews (mmat...@thematthews.org) |
| Date: | 09/23/2002 02:13:45 PM |
| List: | com.mysql.lists.java |
joe pribele wrote:
Which version of Tomcat are you using? It's usually easier to use what they spell out in the docs, using driverClassName and driverName, not using all of the datasource stuff.
-Mark
I am using 4.1. I trying to get the datasource working because I want to use connection pooling with my database.
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail java...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java...@lists.mysql.com instead.
Tomcat does connection pooling no matter what. Datasources do not provide connection pooling.
If you follow the directions for 4.1 at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html exactly (they give a MySQL example), all will be well.
-Mark




