Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55331
A dispatch to an async servlet during the onTimeout method of an async listener should not trigger an ISE.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1509155 13f79535-47bb-0310-9956-ffa450edef68
Remove trailing whitespace

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1509159 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55333
Correct regression in fix for bug 55071.
Don't commit the connection until after the ResultSet has been used.

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