[jboss-user] [Datasource Configuration] - Does min-pool-size is honored when connections are IDLE?
Gabriel Gutierrez
do-not-reply at jboss.com
Thu Oct 4 11:16:17 EDT 2012
Gabriel Gutierrez [https://community.jboss.org/people/gutierrez.ge] created the discussion
"Does min-pool-size is honored when connections are IDLE?"
To view the discussion, visit: https://community.jboss.org/message/763248#763248
--------------------------------------------------------------
Hi, I'm using JBoss 4.3 and I have a question regarding datasources.
Lets assume this is my datasource config:
*idle-timeout-minutes: 5*
*max-pool-size: 10*
*min-pool-size: 5*
Lets say that I ran some queries and I used all 5 available connections at some point.
Now 15 min has passed, which means (an here I'm guessing on the behavior) that those 5 conections got into IDLE state?
When the IDLE Job Runner executes to close all IDLE connections, will it close my 5 min pool connections or will it honor the property, leaving them open for later use?
Thanks on advance your comments.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/763248#763248]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121004/01ab09fb/attachment-0001.html
More information about the jboss-user
mailing list