[jboss-dev-forums] [Design of JBoss jBPM] - Re: Can't deploy processdefinition from GPD into jBPM 3.2 -

jeffdelong do-not-reply at jboss.com
Wed Jan 17 15:19:50 EST 2007


So what you need to do to make it configurable is in two files:

1) hibernate.cfg.xml needs to be transaction enabled - see the one in jbpm-configs (or perhaps remove your copy from classes when deployed as part of the ear ? will you find it on the application classpath - I think so?) 

By the way, I think this file should use JTA not CMT. CMT assume the container has always started a transaction, and hibernate will never attempt to. If JTA, then hibernate will start one if none exists. If you are not using the CommandInterface, you need Hibernate to start one.

2) jbpm.cfg.xml - need to specify isTransactionEnabled to false. Again see the one in jbpm-configs.

I will remove the versions of these files from the web-console.war, change CMT to JTA, and see if the correct ones are picked up.


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

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



More information about the jboss-dev-forums mailing list