JBoss Community

Re: is there a way to create logging for connection used from the pool and availble connection in the pool rather then console monitoring

created by Wolf-Dieter Fink in Performance Tuning - View the full discussion

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

Start a new discussion in Performance Tuning at Community