TOMCAT + DATASOURCE + CONNECTION POOL

2005-12-12 Thread Karthik
Hi I have sucessfully created a JDBC connection using DataSource and JNDI on Tomcat5.x Is it necessary for create a Connection POOL using this DataSource based Jdbc Connnection or will the DataSource itself provides the Connection POOL for managing the JDBC connections on startup

Re: TOMCAT + DATASOURCE + CONNECTION POOL

2005-12-12 Thread ALEX HYDE
Hey, I think though I'm not 100% When you declare the datasource in web.xml (or is Server.xml?) it creates a pool factory for you under the covers (I think using Jakarta DBCP). When you use JNDI look-up it asks the factory for a pool. You are then magically using a pool. You

RE: TOMCAT + DATASOURCE + CONNECTION POOL

2005-12-12 Thread Prathibha, Bharathi
enough to handle all of your db connections. Set to 0 for no limit. -- Hope this helps, Regards, Prathibha. -Original Message- From: Karthik [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 4:36 PM To: TOMCAT Subject: TOMCAT + DATASOURCE + CONNECTION POOL