Community

JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids

reply from Stefano Campanini in jBPM - View the full discussion

It seems solved, changing my jbpm.cfg.xml to :

 

<jbpm-configuration spring="enabled">

 

    <process-engine-context>
        <repository-service />
        <!--    <repository-cache /> -->
        <object class="org.jbpm.pvm.internal.repository.RepositoryCacheImpl" />
        <execution-service />
        <history-service />
        <management-service />
        <identity-service />
        <task-service />
        <types resource="jbpm.variable.types.xml" />

 

        <command-service name="newTxRequiredCommandService">
            <retry-interceptor />
            <environment-interceptor policy="requiresNew" />
            <spring-transaction-interceptor policy="requiresNew" />
        </command-service>

 

        <!-- Default command service has a Spring transaction interceptor-->
        <command-service name="txRequiredCommandService">
            <retry-interceptor />
            <environment-interceptor />
            <spring-transaction-interceptor />
        </command-service>

 

        <deployer-manager>
            <jpdl-deployer />
            <object class="org.jbpm.pvm.internal.repository.RulesDeployer" />
        </deployer-manager>

 

    </process-engine-context>

 

    <transaction-context>
        <transaction type="spring" />
        <hibernate-session current="true" />
        <repository-session />
        <db-session />
    </transaction-context>

 

</jbpm-configuration>

 

Thanks guys for the support !!

Reply to this message by going to Community

Start a new discussion in jBPM at Community