AnsweredAssumed Answered

I am getting exception while executing Task.

Question asked by sufalasubash on Jun 20, 2017
Latest reply on Jun 20, 2017 by sufalasubash

Hi 

I am getting below exception in my application.I am using activiti 6.0 version.Could you please help me to resolve this issue.

 

[activiti-acquire-async-jobs] ERROR org.springframework.transaction.support.TransactionTemplate - Application exception overridden by rollback exception
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.sql.SQLRecoverableException: Closed Connection
### The error may exist in org/activiti/db/mapping/entity/Job.xml
### The error may involve org.activiti.engine.impl.persistence.entity.JobEntityImpl.selectJobsToExecute-Inline
### The error occurred while setting parameters
### SQL: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES where LOCK_EXP_TIME_ is null ) a where ROWNUM < ?) where rnum >= ?
### Cause: java.sql.SQLRecoverableException: Closed Connection
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:122)

Outcomes