A Java expression is taking long to complete and the below error is thrown. We like to understand the best way to configure camunda to deal with these long running tasks.
Entered a ticket based upon conversation with our success manager (Ryan Warner)
-
-
- Error querying database. Cause: java.sql.SQLException: Connection has already been closed.
-
-
-
- The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Execution.xml
-
-
-
- The error may involve org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecutionsByProcessInstanceId
-
-
-
- The error occurred while executing a query
-
-
-
- SQL: select * from ACT_RU_EXECUTION where PROC_INST_ID_ = ?
-
-
-
- Cause: java.sql.SQLException: Connection has already been closed.
-
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)