Is it possible to force termination of a tomcat-dbcp
connection pool and any open connections? And then reinitialize the pool, reusing the pool configuration?
@Autowired
private org.apache.tomcat.jdbc.pool.DataSource ds;
ds.close(true);
//ds.open(); does not exists. how to reinitialize, without having to reconfigure the pool