We encounter the following issue when running our application in the Mendix cloud.
un 19 12:04:54.755 - INFO - ConnectionBus_Retrieve: Trying to clean up and reset connection pooling mechanism... Jun 19 12:04:54.755 - WARNING - ConnectionBus_Retrieve: Error on closing corrupt JDBC connection.
un 19 12:04:55.121 - ERROR - ConnectionBus_Retrieve: JDBCDataStore::execRetrieveQuery failed with SQLState: 08003, error code: 0, message: This connection has been closed. Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (1/79) org.postgresql.util.PSQLException: This connection has been closed. Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (2/79) #011at org.postgresql.jdbc.PgConnection.checkClosed(PgConnection.java:786) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (3/79) #011at org.postgresql.jdbc.PgConnection.prepareStatement(PgConnection.java:1604) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (4/79) #011at org.postgresql.jdbc.PgConnection.prepareStatement(PgConnection.java:410) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (5/79) #011at org.apache.commons.dbcp2.DelegatingConnection.prepareStatement(DelegatingConnection.java:288) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (6/79) #011at org.apache.commons.dbcp2.DelegatingConnection.prepareStatement(DelegatingConnection.java:288) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (7/79) #011at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.execRetrieveQuery(JDBCDataStore.java:276) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (8/79) #011at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.execRetrieveQueries(JDBCDataStore.java:203) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (9/79) #011at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.retrieve(JDBCDataStore.java:168) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (10/79) #011at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.retrieve(JDBCDataStore.java:157) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (11/79) #011at com.mendix.connectionbus.retrieve.DataStoreCaller.executeQueries(DataStoreCaller.java:229) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (12/79) #011at com.mendix.connectionbus.retrieve.DataStoreCaller.executeQueries(DataStoreCaller.java:196) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (13/79) #011at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.java:78) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (14/79) #011at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:62) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (15/79) #011at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:41) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (16/79) #011at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:423) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (17/79) #011at com.mendix.core.action.user.RetrieveXPathAggregateAction.retrieveAggregateNumber(RetrieveXPathAggregateAction.java:66) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (18/79) #011at com.mendix.core.action.user.RetrieveXPathAggregateAction.executeAction(RetrieveXPathAggregateAction.java:42) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (19/79) #011at com.mendix.core.action.user.RetrieveXPathAggregateAction.executeAction(RetrieveXPathAggregateAction.java:17) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (20/79) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (21/79) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (22/79) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (23/79) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (24/79) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) Jun 19 12:04:55.123 - ERROR - ConnectionBus_Retrieve: (25/79) #011at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (26/79) #011at com.mendix.core.component.InternalCore.retrieveXPathQueryAggregate(InternalCore.java:1056) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (27/79) #011at com.mendix.modules.microflowengine.actions.list.AggregateUsingDatabaseAction.execute(AggregateUsingDatabaseAction.scala:51) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (28/79) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (29/79) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (30/79) #011at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (31/79) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (32/79) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (33/79) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (34/79) #011at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168) Jun 19 12:04:55.124 - ERROR - ConnectionBus_Retrieve: (35/79) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
What can be the cause of this error?