Combining multiple answers and expanding on the information so all the information is in one place ...
As @BrettOkken mentions, JDK 1.6 added the isValid method on Connection, so your best bet is to find a newer version of the driver.
To expand on the answer from @mhvelplund ...
You can avoid upgrading your JDBC driver if you convince Tomcat's dbcp2 to not call the isValid method. You can do this by specifying validationQuery (and maybe validationQueryTimeout and maxConnLifetimeMillis as well) in your Resource definition in your context.xml file (which gets put into Tomcat's /conf/Catalina/localhost/{myappname}.xml).
<Resource name="jdbc/ajx"
auth="Container" type="javax.sql.DataSource"
maxTotal="25" maxIdle="30" maxWaitMillis="10000"
maxConnLifetimeMillis="300000"
validationQuery="SELECT CURRENT_TIME()"
validationQueryTimeout="1"
driverClassName="{...}"
url="jdbc:{...}"/>