RE: DBCP: Question about throwing an exception when Connection.cl ose() is called twice

2004-09-29 Thread Botelho, Mauro
Dirk, I agree that the behavior is useful, but it gets in the way when you are moving a legacy application from other connection pools to DBCP. Besides, except for an extra method call, closing a resource twice causes no harm, right? So I think that we should stick with the specification and

[DBCP/Pools] JMX

2004-09-29 Thread Botelho, Mauro
What does the community think about adding JMX to Pools/DBCP? What would be the restrictions imposed? I'm volunteering to implement it, but I would like to first know if the community would want such a thing and also if there are any restrictions like no new packages should be required, etc...

RE: (Pool) Pools should be self tuning

2004-09-24 Thread Botelho, Mauro
I think that the best way to implement this kind of functionality is through JMX. Expose the statistics that the pool can gather and let users monitor it and take action on them by creating monitors and listeners. This would decouple the management of the pool from its implementation. I think