Same output appears in my project (jbpm 4.4) only when I change the configuration to use the current spring transactions:
<
process-engine-context>
<job-executor threads="1" idle="15000" idle-max="60000" lock-millis="3600000" />
<command-service name="newTxRequiredCommandService">
<retry-interceptor />
<environment-interceptor policy="requires" />
<spring-transaction-interceptor policy="requires" />
</command-service>
<command-service name="txRequiredCommandService">
<retry-interceptor />
<environment-interceptor />
<spring-transaction-interceptor />
</command-service>
</process-engine-context>
<transaction-context>
<transaction type="spring" />
<hibernate-session current="true" />
</transaction-context>
When I put 'requiresNew' in policy attribute it runs. But we need the jbpm tables do rollback when an exception arise in the step. I get the error in a signal method, when I set a LOB variable.
¿Can you provide any workaround to avoid this bug?
Thank you.