[jboss-dev-forums] [Design of JBoss jBPM] - Re: Major transaction problem

tom.baeyens@jboss.com do-not-reply at jboss.com
Wed Mar 7 08:50:40 EST 2007


i think i start remembering this problem...

the webapp cannot operate with the same hibernate configurations as the jbpm ejbs do.  that is, untill the web app isn't refactored to using commands and a command service.

webapp needs JTA transactions and the context blocks in the webapp should have transactions enabled.  these transactions then result in JTA transactions.  that is necessary in case async node execution leads to messages being sent.

the jbpm ejbeans need CMT transactions (no transaction demarcation in code).  i think the beans might be configured for JTA with transactions enabled, as they will always be inside a CMT method with tx-attribute required.    So i think that hibernate will not end the JTA transaction if it didn't created it.




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025788#4025788

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025788



More information about the jboss-dev-forums mailing list