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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org