Using GlassFish v2 to Trace Database Connection Leaks

Image of Pipes

Think your application may be leaking database connections? Kshitiz shows how GlassFish v2 makes it easy to track down those leaks by using new connection pool features.

As Kshitiz shows, you just need to use the GlassFish administration GUI or CLI or configure a Leak Timeout for your Connection Pool. Then use the monitoring mechanism (again, available via either GUI or CLI) to view the connection leak stats. Sound simple? It is.

After all, who better to find leaks than a fish?


Post a Comment:
Comments are closed for this entry.