-----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 configuration. Unless you have changed your
config, Tomcat uses commons-dbcp whose configuration reference can be
found here: http://commons.apache.org/dbcp/configuration.html

I think you want to take a look at the "initialSize" and "minIdle"
parameters.

Is there any reason why you absolutely need those connections to all be
available right away? Laziness can sometimes be beneficial... :)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqpNdkACgkQ9CaO5/Lv0PAZQACeMOlUmLcr/9eTfUTxeNuv1mpu
0pkAoLg8687dcxFcYa/Ki1aeApv8xELL
=WerZ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to