Re: Database Connection Pooling initialization with dbcp

2009-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 9/9/2009 12:01 PM, Chris Wiley wrote: My question is this: Am I to assume that I need to OPEN and CLOSE x number of connections in the init section of the servlet to load the pool with live connections? No, this can be done with

RE: Database Connection Pooling initialization with dbcp

2009-09-10 Thread Chris Wiley
. -Chris -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, September 10, 2009 12:23 PM To: Tomcat Users List Cc: chriswile...@gmail.com Subject: Re: Database Connection Pooling initialization with dbcp -BEGIN PGP SIGNED MESSAGE- Hash

RE: Database Connection Pooling initialization with dbcp

2009-09-10 Thread Caldarale, Charles R
From: Chris Wiley [mailto:cwile...@comcast.net] Subject: RE: Database Connection Pooling initialization with dbcp As far as the initialSize parameter, do I just append those to the datasource under the Resource element in the web.xml? Set the values as additional attributes in the Resource

Re: Database Connection Pooling initialization with dbcp

2009-09-09 Thread Ziggy
Im not an expert on this but i thought that the pool will cache connections that you have created. Maybe someone can clarify this. Have a look at this http://onjava.com/pub/a/onjava/2006/04/19/database-connection-pooling-with-tomcat.html?page=2 On Wed, Sep 9, 2009 at 9:01 AM, Chris Wiley