tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Hall <rfha...@yahoo.com>
Subject Re: recovering connections on jdbc connection pool
Date Sun, 08 May 2011 17:38:13 GMT
>         try {
>             while (it.hasNext()) {
>                 c1 = getConnection();


You should move getConnection() outside of the while() block.

- Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message