> 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 at
n't matter.
-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 ME
-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 confi
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 wrot
Hello,
I have a web app I have developed under Tomcat 6.0.18 and have added in the
dbcp system. As it stands now, It wants to make connections only after the
first request to the app. I want the dbcp system to initialize x number of
connections on app/server startup. I know if I want to initializ