[jboss-user] [jBPM] - JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids

Stefano Campanini do-not-reply at jboss.com
Fri Apr 23 09:57:03 EDT 2010


Stefano Campanini [http://community.jboss.org/people/campa] replied to the discussion

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

To view the discussion, visit: http://community.jboss.org/message/539241#539241

--------------------------------------------------------------
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
[http://community.jboss.org/message/539241#539241]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100423/8a6524dd/attachment.html 


More information about the jboss-user mailing list