Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
Contribution by Danila Galimov
Ability to log statement creation stacks

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1616644 13f79535-47bb-0310-9956-ffa450edef68
Fix suspect test cases. If validation times out, it should be treated as a validation error.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1616649 13f79535-47bb-0310-9956-ffa450edef68