That worked, thanks! btw, for everyone else: abandoned thing only works when numActive() hits maxActive(), and prints log to System.out.
Filip Hanik - Dev Lists wrote: > > set properties > > removeAbandoned="true" > removeAbandonedTimeout="60" > logAbandoned="true" > > This will expire leaked connections and print out the stack trace from > where they were acquired. > > Filip > > Arrowx7 wrote: >> Using mysql JDBC driver. Somewhere in the appilcation, the connections >> are >> drawn from the DBCP pool, and never returned. I did >> dataSource.getNumActive() and dataSource.getNumIdle(). There are 2 idle >> connections, and 88 active connections. Somewhere in my web application >> a >> process does not close the connection and return it to pool. there a way >> to >> print stack trace the current active connections or something to find >> where >> it's leaky? >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/DBCP-connection-pool-exhausted%2C-can-I-trace-borrowed-connnections-from-pool--tp24075241p24080328.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org