<
Hi mqqla2,
my jbpm.cfg.xml for spring looks a bit different:
<jbpm-configuration spring="enabled">
[...]
<command-service name="newTxRequiredCommandService">
<retry-interceptor />
<environment-interceptor policy="requiresNew" />
<spring-transaction-interceptor transaction-manager="localTransactionManager" current="false" policy="requiresNew" />
</command-service>
[...]
<command-service name="txRequiredCommandService">
<retry-interceptor />
<environment-interceptor />
<spring-transaction-interceptor transaction-manager="localTransactionManager" current="true" />
</command-service>
[...]
<transaction-context>
<transaction type="spring"/>
[...]
<hibernate-session factory="sessionFactory" current="true" close="false" tx="true" />
</transaction-context>
</jbpm-configuration>
"sessionFactory" and "localTransactionManager" are spring beans, HTH