commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21182] - [dbcp] removing a webapp does not force connections closed
Date Mon, 30 Jun 2003 12:20:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21182

[dbcp] removing a webapp does not force connections closed





------- Additional Comments From tagunov@motor.ru  2003-06-30 12:20 -------
Tony Locke <tlocke@tlocke.org.uk> does it like this, but I still do not see a general

solution

if (ds instanceof org.apache.commons.dbcp.BasicDataSource) {
    
((org.apache.commons.dbcp.BasicDataSource) ds).close();
}

in the contextDestroyed 
method of the context listener class of my web
app.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message