https://issues.apache.org/bugzilla/show_bug.cgi?id=56318
--- Comment #4 from Filip Hanik <fha...@apache.org> --- Not sure this would be a bug. It is your responsibility to close statements in your application. However, you can configure the pool to do it for you https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html#org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer in your config that would look like jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState; org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer" <Resource auth="Container" url="jdbc:oracle:thin:@dgalimov7:1521:DAN2" driverClassName="oracle.jdbc.OracleDriver" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" name="jdbc/IpbDB" username="dgalimov_home_new" password="dgalimov_home_new" type="javax.sql.DataSource" timeBetweenEvictionRunsMillis="10000" maxActive="25" maxIdle="3" minIdle="0" maxWait="30000" testOnBorrow="true" testOnReturn="true" validationQuery="SELECT 1 FROM DUAL" jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer" /> -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org