Hide Forgot
Date of First Response: 2010-06-12 04:00:27 Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/917023 project_key: SOA With a high number of due jobs, the RetryExcecutor is failing to query the database for the first due job: DEBUG [org.jboss.soa.esb.services.jbpm.integration.msg.RetryExecutor] Unexpected error rescheduling jobs, extending idle period org.jbpm.persistence.JbpmPersistenceException: could not get first due job owned by 'RetryExecutor' ignoring jobs [490518 6, 4673400, ----a looong list---, 4895759] at org.jbpm.db.JobSession.getFirstDueJob(JobSession.java:101) at org.jbpm.db.JobSession.getFirstDueJob(JobSession.java:98) ... 2 more Caused by: java.sql.SQLException: ORA-01795: maximum number of expressions in a list is 1000 Although it does not affect the function of the RetryExecutor, an additional check should be added so that the query triggered by the RetryExecutor is not affected by such a backlog.
Link: Added: This issue related SOA-2122
Link: Added: This issue depends JBESB-3347
Updated in ESB codebase, will be in next merge.
The draft text for the Release Notes states: https://jira.jboss.org/browse/JBESB-3347 The RetryExecutor failed with an exception when it tried to query the database for the first "due job" when there was a large backlog of these jobs. This has been fixed by a change to make the maximum count applicable to all due jobs, not just suspended ones. As a result, this exception no longer occurs.
Verified in source code