Georgy Nechukin [
http://community.jboss.org/people/nechukin] replied to the discussion
"Recover async activities after jBPM4 restart"
To view the discussion, visit:
http://community.jboss.org/message/554492#554492
--------------------------------------------------------------
Solution found. The reason why jobs were not recovered automatically is the too long lock
timeout in job executor settings:
<process-engine-context>
<job-executor threads="4" idle="1000"
idle-max="120000" lock="3600000"/>
</process-engine-context>
I changed the lock to 10000 (10 seconds) and now it's recovering normally.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/554492#554492]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]