cancel
Showing results for 
Search instead for 
Did you mean: 

I am getting exception while executing Task.

sufalasubash
Champ on-the-rise
Champ on-the-rise

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)

1 REPLY 1

sufalasubash
Champ on-the-rise
Champ on-the-rise

I am using oracle database