2015-06-01 16:22 GMT+03:00 Tweak Ronaldo <[email protected]>: > Hello guys, we have migrated to Tomcat DBCP 8.0.18 from 7.0.37 recently and > faced the following issue: > after database restart (Postgres), our application wasn't been able to > restore connectivity to DB, all connections were closed and every time, > after failed attempt to execute some SQL statement, returned back to pool. > Pool is configured with all tests (on borrow, on return, on connect, while > idle) disabled. Pool configuration is the same for 8.0.18 and 7.0.37.
"the same"? Tomcat 7 uses DBCP 1 and Tomcat 8 uses DBCP 2, where some attributes have different names. As mentioned in migration guide: http://tomcat.apache.org/migration-8.html#Database_Connection_Pooling Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
