This content has been marked as final.
Show 2 replies
-
1. Re: is there a way to create logging for connection used from the pool and availble connection in the pool rather then console monitoring
wdfink Jun 21, 2012 6:28 AM (in response to shirishmaurya)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).
-
2. Re: is there a way to create logging for connection used from the pool and availble connection in the pool rather then console monitoring
shirishmaurya Jun 27, 2012 1:25 PM (in response to wdfink)i was talking about this
http://jshair.blogspot.com/2009/12/monitoring-in-jboss.html
how to use or set this logging