Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55331
A disatch 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/trunk@1509151 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/trunk@1509156 13f79535-47bb-0310-9956-ffa450edef68