tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Oracle connection pooling
Date Fri, 25 Oct 2002 14:36:19 GMT

>Did you mean setting maxWait to 0 ?

No.  I meant that setting maxActive to 5, maxIdle to 3, and maxWait to
-1 does not mean there will be 3 connections on startup.  

It's up to the connection pool implementation to decide if it wants to
pre-create the connections on startup, or not.  Some implementations may
expose a configuration parameter so that you can tell them whether to be

Alternatively, you could ask for as many connections as your maxIdle
will allow on startup, so that when your first real DB calls come the
connections are already created.

Yoav Shapira
Millennium ChemInformatics

View raw message