The following Statistics are not being updated in JCA MBean stats attribute. Its always "0".
UseTime=[ Count: 0, Min. Time: 0, Max. Time: 0, Total Time: 0, Request Rate: 0.0]
WaitingThreadCount=[low: 0, high: 0, current: 0]
WaitTime=[ Count: 0, Min. Time: 0, Max. Time: 0, Total Time: 0, Request Rate: 0.0]
Even if the size of the pool reached the maximum size ie. 20. And for further connection am getting error in my programs. See the following Statistics value.
PoolSize=BoundedRangeStatistics[low: 0, high: 20, current: 20]
FreePoolSize=BoundedRangeStatistics[ [low: 0, high: 20, current: 0]
MBean is:
jboss.management.local:
J2EEServer=Local,ResourceAdapter=JBoss LocalTransaction JDBC Wrapper,j2eeType=JCAResource,name=DefaultDS