This content has been marked as final.
Show 3 replies
-
1. Re: JBoss Portal + jBpm transaction problems
koen.aers Sep 29, 2005 9:15 AM (in response to sven.schulz)What you could try to do is not use the ProcessArchiveDeployer class to do the deployment. Look at the
public static void deployProcessDefinition( ProcessDefinition processDefinition, JbpmSessionFactory jbpmSessionFactory)
method and eliminate the transaction brackets.
Regards,
Koen -
2. Re: JBoss Portal + jBpm transaction problems
sven.schulz Sep 29, 2005 9:35 AM (in response to sven.schulz)Good suggestion, Koen! However, i am not sure if not commiting at all is a good solution. What if i i have to perform a rollback? It won't be possible I fear! Or am I wrong?
Regards,
Sven -
3. Re: JBoss Portal + jBpm transaction problems
koen.aers Sep 29, 2005 9:41 AM (in response to sven.schulz)Either the complete transaction (incl. the deployment) will succeed or fail. If this is not what you need, you may want to use Julien's solution with the EJB.
Regards,
Koen