i started to use dbcp, setup is prety easy and it
works well, however i have got couple of questions:

1.is it possible to predefine starting number of
connections? i want to create connection pool which
has got certain number of connections ready, when it
is created. i am only able to increasse number of
connections in the pool if all conns are busy, and
next call will create new conn in the pool. 

second question is related to struts and (Basic)data
source:

i set up data source in struts-config.xml, and i can
use it but i'd like to know:

2. is it possible to setup whenExhaustedAction with
BasicDataSource
3. is it possible to setup Evictor with
BasicDataSource (is Evecitor the same as abandoned
connection handler???)
4. if i set removeAbandoned to true and
removeAbandonedTimeout to 10 secs and open connection
without closing it, that connection stays active
forever (getNumActive() returns 1), i expected it to
be collected after 10 secconds. is there something i
am missing?


thanx for any answer

dario 

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to