Some connection pools silently ignore AbstractMethodError and returns null. That is the case in the latest commons dbcp (tomcat dbcp2).