Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what will happen if we access more than the maximum pool size

 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have configured tomcat for connection pooling and made minimum connection size is 20 and maximum allowed is 30. What will happen if we try to access more than 30 connections. Will the system through an error or will the connection wait until next one is available or the pool size will be increased?

My guess is the connection will wait until the timeout and then will throw an error.

Can someone please explain the same. Any help on this is very much appreciated.

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thread will wait for maxTime for a connection to become available, after which an exception is thrown.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic