Author: fhanik Date: Fri May 18 15:38:22 2012 New Revision: 1340133 URL: http://svn.apache.org/viewvc?rev=1340133&view=rev Log: When a connection is disconnected, make sure we reset the cached values. This can happen during a failed validation when reconnect() is called.
Modified: tomcat/tc7.0.x/trunk/modules/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc7.0.x/trunk/modules/ ------------------------------------------------------------------------------ --- svn:externals (original) +++ svn:externals Fri May 18 15:38:22 2012 @@ -1 +1 @@ -^/tomcat/trunk/modules/jdbc-pool@1311844 jdbc-pool +^/tomcat/trunk/modules/jdbc-pool@1335546 jdbc-pool Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1340133&r1=1340132&r2=1340133&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Fri May 18 15:38:22 2012 @@ -182,6 +182,11 @@ </subsection> <subsection name="jdbc-pool"> <changelog> + <update> + When a connection is reconnected due to failed validation + make sure the ConnectionState is reset or it will assume + incorrect values (fhanik) + </update> <fix> <bug>50864</bug> (<rev>1311844</rev>): JMX enable most pool properties (fhanik) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org