Name of the command service and the id-generator are to be changed in 4.2. Yours is for
4.1. But you should have got exception at some other step because of these. This is a
sample cfg file for 4.2
| <jbpm-configuration>
|
| <import resource="jbpm.businesscalendar.cfg.xml" />
| <import resource="jbpm.jpdl.cfg.xml" />
|
| <process-engine-context>
| <repository-service />
| <repository-cache />
| <execution-service />
| <history-service />
| <management-service />
| <task-service />
| <identity-service />
| <command-service name="txRequiredCommandService">
| <skip-interceptor />
| <retry-interceptor />
| <environment-interceptor />
| <standard-transaction-interceptor />
| </command-service>
|
| <hibernate-configuration>
| <cfg resource="jbpm.hibernate.cfg.xml" />
| </hibernate-configuration>
|
| <hibernate-session-factory />
|
| <object class="org.jbpm.pvm.internal.id.DatabaseDbidGenerator">
| <field name="commandService"><ref
object="txRequiredCommandService" /></field>
| </object>
|
| <object class="org.jbpm.pvm.internal.id.DatabaseIdComposer"
init="eager" />
|
| <script-manager default-expression-language="juel"
default-script-language="juel">
| <script-language name="juel"
factory="org.jbpm.pvm.internal.script.JuelScriptEngineFactory" />
| </script-manager>
|
| <job-executor auto-start="false" />
|
| <types resource="jbpm.variable.types.xml" />
| </process-engine-context>
|
| <transaction-context>
| <repository-session/>
| <db-session/>
|
| <message-session/>
| <timer-session/>
| <hibernate-session current="true"/>
| </transaction-context>
|
| </jbpm-configuration>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269842#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...