Whole application crashes if aditional datastore goes offline

I have a application with several independant modules with each teir own database (registered as additional datastores). When one of these goes offline, the whole application crashes with the following log:

Connection Pool-dbBalanceadosSiemens - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@3715a6b5 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.

Is there any way to prevent this, say give timeout error on screens related to these entitites?


What platform version are you using?


i’m currently on 7.2.14 but have experienced this in past versions

Please clarify what you mean by “the whole application crashes”? Really the whole application stops responding or its parts working with the entities from the offline data store?