[
http://jira.jboss.com/jira/browse/JBPM-974?page=comments#action_12363885 ]
Tom Baeyens commented on JBPM-974:
----------------------------------
hmmm.. this is in the code
} finally {
jbpmContext.close();
}
acquiredJobs = jobsToLock;
log.debug("obtained locks on following jobs: "+acquiredJobs);
} catch (StaleStateException e) {
log.debug("couldn't acquire lock on job(s): "+jobsToLock);
}
and StaleStateException is the superclass of StaleObjectStateException... so i don't
yet see where this goes wrong. or maybe i already fixed it and don't remember.
concurrent job acquirement fails
--------------------------------
Key: JBPM-974
URL:
http://jira.jboss.com/jira/browse/JBPM-974
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2
Reporter: Alexander Schlett
Assigned To: Tom Baeyens
when more than 1 job executor thread is configured and concurrent async nodes are to be
executed, it results in hibernate exceptions.
reason: job acquirement is not synchronized well, resulting in multiple threads trying to
work on the same job.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira