Excellent. thanks a lot for all of your help :)
2011/6/7 Christopher Schultz <ch...@christopherschultz.net> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > הילה, > > On 6/6/2011 4:35 PM, הילה wrote: > > I use Tomcat's JDBC pool (tomcat-jdbc.jar) > > Okay. > > > sorry, I haven't quite understood why shouldn't I use the > > ValidationInterval="30000" (30 seconds) string on my configuration.. > > On tomcat's documentation, it says that testonborrow=true and > > validationQuery=SELECT 1 were part of the DBCP , and the > > ValidationInterval=30000 is introduced in the Tomcat's JDBC pool. > > DBCP implements a different kind of connection validation by running a > background thread. tomcat-pool has different semantics that do not > launch a background thread. > > Feel free to use validationInterval set to whatever value you'd like. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEUEARECAAYFAk3ufjUACgkQ9CaO5/Lv0PBwTACYvwblavTu/2YARBtPr/ILogXo > NgCeIyhyJMD1TF8yUjUoHGlzW0WhZN8= > =oqS5 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >