JBoss DataSource - How can ConnectionCount be larget than MaxSize?
Posted
by
Qben
on Server Fault
See other posts from Server Fault
or by Qben
Published on 2012-12-17T11:03:38Z
Indexed on
2012/12/17
11:04 UTC
Read the original article
Hit count: 254
jboss
I am running JBoss 4.0.5GA and I have stumbled upon a strange scenario (In my eyes anyway). When I decreases the <max-connections> to 1 for a Quartz DataSource and restart the server everything works fine. When I check the JMX console I can see that ConnectionCount and MaxConnectionInUseCount are both 2.
The question is, how can the ConnectionCount be higher than the pool MaxSize (Which is 1 in JMX console as expected)?
As a note I did this to try to trigger a production problem I have from time to time where a Quartz DB connection cannot be retrieved for some odd reason (Pool not full).
© Server Fault or respective owner