Wolf-Dieter Fink [
https://community.jboss.org/people/wdfink] created the discussion
"Re: is there a way to create logging for connection used from the pool and availble
connection in the pool rather then console monitoring"
To view the discussion, visit:
https://community.jboss.org/message/743319#743319
--------------------------------------------------------------
I think you mean to have a statistic how the pool is used, right?
I do something like that with cron:
+bin/twiddle.sh -s localhost:1099 get
"jboss.jca:service=ManagedConnectionPool,name=DefaultDataSource" MaxSize
MaxConnectionsInUseCount+
You can get the attributes you want and write it to a logfile.
If you want more you may interested in JON (JBoss Operation Network).
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/743319#743319]
Start a new discussion in Performance Tuning at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]