[jboss-user] [jBPM] - Re: JBPM5, Spring, BTM and Tomcat

JBPMDEV JAVA do-not-reply at jboss.com
Wed Dec 7 11:58:11 EST 2011


JBPMDEV JAVA [http://community.jboss.org/people/jbpmdev] created the discussion

"Re: JBPM5, Spring, BTM and Tomcat"

To view the discussion, visit: http://community.jboss.org/message/640368#640368

--------------------------------------------------------------
Thanks for the quik reply.

Actually i confused with the below two steps,

env.set( EnvironmentName.TRANSACTION_MANAGER, HumanTaskStartupServlet.context.getBean("bitronixTransactionManager") ); 
env.set( EnvironmentName.TRANSACTION, HumanTaskStartupServlet.context.getBean("bitronixTransactionManager") ); 

Now i have corrected and it is working fine now HSQL db  :) 

Also for all the transaction, i am using the same "bitronixTransactionManager" object like below,

bitronixTransactionManager.begin();
bitronixTransactionManager.commit()

is that correct ??


Still i found the "StatefulKnowledgeSession" and all BPMN conf  also configurable in spring itself instead of doing this way,i have to implement like this later.
 http://community.jboss.org/message/599448#599448 http://community.jboss.org/message/599448


Now i am trying to use XA Database to point Oracle.getting some issues  :( 

Thanks again for your help!!

Tc.


--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/640368#640368]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111207/9d36df2c/attachment-0001.html 


More information about the jboss-user mailing list