This is sample jpdl.cfg.xml. Please observe the command-service and db id generator mappings.
| <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"> | <retry-interceptor /> | <environment-interceptor /> | <spring-transaction-interceptor/> | </command-service> | | <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/> | <history-session/> | | <hibernate-session current="true"/> | </transaction-context> | | </jbpm-configuration> | You can also refer to this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163512 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265753#4265753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265753 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
