The Spring application restarts itself due to Bean creation failure what is caused by the connection exception. The Exception is dropped at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:243) at org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) This happens if we stop the DB before the application startup. That case works fine when DB gets down and then trying to reconnect after the application startup.
Is there any way, any settings to set the DBCP to try to reconnect automatically?