Hi, >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 greedy. 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
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
