For connection you are out of luck. There is nothing like a common event model for connections or connection pools. (No driver or pool that I know has a feature like this).
One solution if you have complete control over any class that accesses the database: Wrap the pool or the connection inside a own class that delegates all get/release calls to the underlying class and track the connection count. If you have third party tools that access the database I think that you have lost with the most databases. With some database it's possible to get a list of open connection through system views or stored procedures. (E.g. Oracle) but that's not portable. > -----Ursprüngliche Nachricht----- > Von: Darya Chernikhova [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 5. Juni 2002 16:34 > An: Tomcat Users List > Betreff: Re: jdbc connection list <snip/> > I'd like to write a bean that would keep track of all > of the jdbc connections that users make. <snip/> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>