RE: Monitoring connection pools created by tomcat

2007-05-31 Thread Sorin Juco
Thanx guys. Great application. -- View this message in context: http://www.nabble.com/Monitoring-connection-pools-created-by-tomcat-tf3845859.html#a10894272 Sent from the Tomcat - User mailing list archive at Nabble.com. - To

Monitoring connection pools created by tomcat

2007-05-31 Thread Sorin Juco
Hello, I use tomcat 6.0.13 with jdk 6 on windows. I created a jdbc resource(connection pool) in the standard way. My question is how can I monitor the connection pool. In glassfish for example I have the admin app in which I can monitor the pool and see the active connections, idle connections

Re: JDBC resource with custom connection pool factory

2007-05-30 Thread Sorin Juco
cute custom code while getting a connection u can extend the > connection factory and mention that class as the factory for ur resource, > I dont think we close connections using the factory, so maybe u can write > a wrapper around Connection.close() method. > > - Original Messa

JDBC resource with custom connection pool factory

2007-05-30 Thread Sorin Juco
Hello, I want to create a JDBC resource wich represents a connection pool to an Oracle server. By default Tomcat uses DBCP to provide the connection pool implementation. My problem is that I want to execute some custom code each time I get a connection from the pool and also each time I release t