I've tride Proxool, DBCP, and C3P0.
Proxool seemed to leave connections marked as "active" after session close, and then have errors spring up whenever one of these active connections timed out. I like its monitoring features, but I couldn't get past this active connections issue (admittedly, didn't put much effort into it other than a some google/forum/etc searching).
DBCP and C3PO I've had success with, but each dies in its own mysterious ways after serveral reloads on Tomcat. Typically I get classloader errors, which seem to be due to the fact that neither of these pools has a way to really terminate itself without shutting down the vm or "manually" finding their threads that should be shutdown when the context is destroyed.
I would LOVE to find a pool that has an api to shut down properly in this situation (the situation being that tomcat classloader has dumped all its classes, but the daemon threads created at init at still running, until they try to load some missing classes...)
I too would like to know others' experience with these pools...
thanks
tyson
christian wrote:
PDF version:
http://hibernate.org/tmp/Jakarta_Pooling.pdfI'm not really surprised. I've experienced "out of memory" and closed/shared connections with Tomcat and DBCP regularly. Because this was only in development, I simply restarted the whole mess and continued, because there's no point in debugging Jakarta software. You won't get anything done.
My personal advice is and has been for a long time: Don't use anything from Jakarta until you absolutely have to and there is no other alternative. For the connection pooling you can give the Proxool support a chance. I haven't checked it yet, but I'm sure that a dedicated and active project like Proxool is worth a try.