Community

Spring JBpm 4.3 loading a custom IdentitySession

created by Jaber C. Mourad in jBPM - View the full discussion

Hi,

 

I'm trying to integrate spring and Jbpm.

 

I'm using the SpringHelper to start the processEngine :

<?xml version="1.0" encoding="UTF-8"?>

 

<jbpm-configuration>


    <import resource="jbpm.tx.spring.cfg.xml" />
    <import resource="jbpm.jpdl.cfg.xml" />

 

    <import resource="jbpm.businesscalendar.cfg.xml" />
    <import resource="jbpm.console.cfg.xml" />
    <import resource="jbpm.jobexecutor.cfg.xml" />
   
    <script-manager default-expression-language="juel"
        default-script-language="juel"
        read-contexts="execution, environment, process-engine, spring"
        write-context="">
        <script-language name="juel"
            factory="org.jbpm.pvm.internal.script.JuelScriptEngineFactory" />
    </script-manager>
   
    <transaction-context>
        <object class="identitySession"/>
    </transaction-context>
    <hibernate-session current="true" />
</jbpm-configuration>

Reply to this message by going to Community

Start a new discussion in jBPM at Community