Dámaris Suárez [
http://community.jboss.org/people/dhamaris] created the discussion
"Re: IdentityService"
To view the discussion, visit:
http://community.jboss.org/message/603178#603178
--------------------------------------------------------------
How did you have configured your IdentityService? I cannot even initialize mine!
I'm currently using jbpm 4.4 and I put this in my configuration:
<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration>
<!-- <import resource="jbpm.default.cfg.xml" /> -->
<import resource="jbpm.tx.spring.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.identity.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>
And in my applicationContext-process.xml I added a IdentityService bean to try to make
sure it initialized:
<bean id="processEngine" factory-bean="springHelper"
factory-method="createProcessEngine" />
<bean id="identityService" factory-bean="processEngine"
factory-method="getIdentityService" />
Nevertheless, everytime I debug my IdentityService object is null...
Any ideas?
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/603178#603178]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]