Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connection Pooling using Tomcat Web server

843840May 20 2008 — edited May 22 2008
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2008
Added on May 20 2008
4 comments
285 views