JBoss Community

Re: JBPM5, Spring, BTM and Tomcat

created by JBPMDEV JAVA in jBPM - View the full discussion

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

 

 

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

Start a new discussion in jBPM at Community