JBoss DataSource - How can ConnectionCount be larget than MaxSize?
- by Qben
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).