Dámaris Suárez [
http://community.jboss.org/people/dhamaris] created the discussion
"Re: Spring JBpm 4.3 loading a custom IdentitySession"
To view the discussion, visit:
http://community.jboss.org/message/603187#603187
--------------------------------------------------------------
How did you do to avoid the IdentityService null?
I've been struggling with that for weeks, I'm using jbpm 4.4 and have the default
configuration, that is:
<?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>
I tried to initialize identityService adding it as a bean in applicationContext-process
file, like this:
<bean id="identityService" factory-bean="processEngine"
factory-method="getIdentityService" />
Any ideas?
Thanks
Dámaris.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/603187#603187]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]