Responding to myself, I've been looking through the JBoss code, and it seems 
like the connections are managed in internal subpools. Whenever a connection is 
requested, JBoss tries to allocate from an existing subpool. If there are no 
free connections in the existings subpools, a new subpool is created, and a 
connection is taken from there.

If this is true, it would seem that JBoss does not have any background thread 
that watches the usage count and allocating when the free connections are 
getting low,  or when it hits a certain threshold, or any similiar mechanism. 
It allocates new connections exactly when there are zero available connections.

Can anyone confirm that I am understanding JBoss's ManagedConnectionPool 
behaviour correctly?

Thanks for any help,
David M.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027373#4027373

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027373
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to