[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread iterrell
Alternatively, you could probably use xdoclet as: [MDB xdoclet settings: transaction-type=Bean ] Don't quote that as gospel; just guessing. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922563#3922563 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread RAlfoeldi
... which you wouldn't want to do as your workflow would then be in another transaction then the acceptance of the message and you be losing all transactional security. Quote that as gospel :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922570#3922570

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread winjer
thanks for the replies. yes, changing the MDB xdoclet settings (transaction-type=Bean ) is not what i need :) RAlfoeldi, i d appreciate it if you could paste the hibernate here, i havent get it to work yet :S thanks again. View the original post :

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread RAlfoeldi
This is a Oracle / JBoss configuration: | hibernate-configuration | | !-- a SessionFactory instance listed as /jndi/name -- | session-factory | name=java:hibernate/SessionFactory | | !-- properties -- | property

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread iterrell
Maybe I can try to be at least a little useful then, after that bad advice. ;-) Using JBoss 4.0.3 I have: | hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory |

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread winjer
thank you both guys, i really appreciate it ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922722#3922722 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922722 ---

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread iterrell
I've had similar errors using EJB Timers. I believe what is going on is that your application server is managing your transactions but that is not getting communicated to jBPM's Hibernate. Since my timer's logic was simple and purely jBPM related, I solved the problem by letting the bean

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread winjer
thanks, though unfortunately i dont know how to implement what you suggest in my case... If i am right, the problem occurs because i have stated that the MDB transactions are handled by the container (JBOSS) [MDB xdoclet settings: transaction-type=Container ] Anyone knows how to make it

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread RAlfoeldi
You will need to configure Hibernate to use container managed transactions. Its in the docs somewhere. If you haven't found it by then, I'll post it in a few hours (sorry, not in the office right now.) Greetings View the original post :