tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexis <alz...@gmail.com>
Subject Re: recovering connections on jdbc connection pool
Date Sun, 08 May 2011 17:52:06 GMT
yes, that looks bad too , sorry.

actually i changed the whole method.

On May 8, 2011, at 2:38 PM, Bob Hall wrote:

>>        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
> 


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


Mime
View raw message