Tomcat JNDI Connection Pool docs - Random Connection Closed Exceptions
- by Andy Faibishenko
I found this in the Tomcat documentation here
What I don't understand is why they close all the JDBC objects twice - once in the try{} block and once in the finally{} block. Why not just close them once in the finally{} clause?
This is the relevant docs:
Random Connection Closed Exceptions
These can occur when one request gets a db connection…