I have an application using an Oracle RAC database. In order to perform maintenance tasks on database nodes, I would like to transfer all connections from node 1 database, then disconnect node for maintenance.
I would like to make sure that the database connections do not remain open for more than X minutes. When a DB node is put into maintenance, connections opened on this node will be closed after no more than X minutes and recreated on another.
The connection pool used is common-dbcp, with the intention of switching to tomcat-jdbc. For both pools, I do not see the configuration option to force reuse of connections after some time. Am I missing something? Or is this not a standard option?
source share