In my code I manage two connections at two DB (eg, db1, db2). One of this commits (db2) while the other (cause overload Jboss's node) times out (db1).
The problem is that after the timeout, the connection is re-instantiates a process that JBPM restart from the last state.
This behavior is not desired because at this point I'll have a double commit on db2 while on db1 I have a single commit
I would like the jbpm process not re-start
I you want I can attach part of log...
if you like them to be transactional you should make process and your custom logic transaction aware - meaning all execution (process flow and db changes) should be part of the same transaction so whenever it fails it can be safely restarted