[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio
hrworx
do-not-reply at jboss.com
Wed Nov 11 16:04:32 EST 2009
Thanks again for the suggestion. Each time I get a little further.
Now my config looks like this:
| <jbpm-configuration>
|
| <import resource="jbpm.default.cfg.xml" />
| <import resource="jbpm.businesscalendar.cfg.xml" />
| <import resource="jbpm.jpdl.cfg.xml" />
|
| <process-engine-context>
| <command-service name="txRequiredCommandService">
| <retry-interceptor />
| <environment-interceptor />
| <spring-transaction-interceptor />
| </command-service>
| </process-engine-context>
|
| <transaction-context>
| <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" />
| <object class="com.hrworx.formworx.service.user.JbpmIdentitySessionImpl" />
| <transaction />
| <hibernate-session current="false" />
| </transaction-context>
|
| </jbpm-configuration>
|
and I am getting a new error:
| org.jbpm.pvm.internal.tx.TransactionException: complete on transaction in state COMMITTED
| at org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:69)
| at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:93)
| at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
| at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
| at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
| at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:91)
|
I have also tried adding this back into my configuration without success:
<import resource="jbpm.tx.spring.cfg.xml" />
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265133#4265133
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265133
More information about the jboss-user
mailing list