[JBoss-user] [JBoss Portal] - Re: Transaction problems with JBoss Portal + JBPM

2005-09-29 Thread [EMAIL PROTECTED]
Hi Sven, A possible solution is in the jBPM forum : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897942#3897942 Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897943#3897943 Reply to the post : http://www.jboss.com/index.html?mod

[JBoss-user] [JBoss Portal] - Re: Transaction problems with JBoss Portal + JBPM

2005-09-29 Thread [EMAIL PROTECTED]
what you can try is to use an EJB session bean with a simple method that you cann and has a declarative transaction attribute to REQUIRES_NEW. then in that EJB method you call your code that needs a transaction. I coded such a bean in my life so you can get the code here : http://anoncvs.forge.

[JBoss-user] [JBoss Portal] - Re: Transaction problems with JBoss Portal + JBPM

2005-09-28 Thread sven.schulz
Wouldn't it be necessary to do this for the inner transaction (in jBpm). Since this one shouldn't commit but does (as requested in source code)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897843#3897843 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [JBoss Portal] - Re: Transaction problems with JBoss Portal + JBPM

2005-09-28 Thread sven.schulz
Thank you Julien. I've done what you said. No success. My hibernate portal configuration now looks like | | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> | | | java:PortalDS | false | true | true | org.hibernate.transact

[JBoss-user] [JBoss Portal] - Re: Transaction problems with JBoss Portal + JBPM

2005-09-28 Thread [EMAIL PROTECTED]
using the tx datasource, try to deploy the session factory with the following properties : | hibernate.transaction.flush_before_completion=true | hibernate.transaction.auto_close_session=true | hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory | hiber