Connection Pooling using Tomcat Web server
843840May 20 2008 — edited May 22 2008Hi All,
I am trying to use connection pooling using Tomcat5.x web server. I have got few questions. I request some could help me.
I have defined
maxActive = 5 which means that the maximum number of active connections in the pool are 5.
maxIdle = 3 which means that the maximum number of idle connections in the pool are 3.
removeAbondandTimeout = 60
If 5 different request are received, then 5 active connections will serve the requests. Within this time if the another request comes then
a. will another connection will be created in the pool? If so like this if 'n' requests are received then 'n' connections are created in the pool, then no point in calling it as Connection pooling.
Please explain me about this situation and also correct me if i am wrong.
Thanks in Advance