Dustin,

Thanks! You''ve helped me to solve a prloblem that I've been struggling with for days.

---
Lucie

Date: Fri, 7 Jan 2005 22:08:20 -0800 (PST)
From: Dustin <[EMAIL PROTECTED]>
Subject: How to release connections in connection pool during reload?
Content-Type: text/plain; charset=us-ascii


In your servlet's destroy() method (I am using Struts and plugins, and use the plugin's destroy() method), add the following code:

((BasicDataSource) ds).close();

That is assuming your data source is named 'ds'. This
will close all connections.

Dustin



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to