[rules-users] Drools Flow Persistence : How can I use Geronimo Transaction Manager Instead of Bitronix Transaction Manager.

Kris Verlaenen kris.verlaenen at cs.kuleuven.be
Tue Nov 3 05:53:10 EST 2009


Check out
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch05.html#d0e1577

The code sample there contains a line where the transaction manager is
registered in the environment (using the Bitronix one in this case):

env.set( EnvironmentName.TRANSACTION_MANAGER,
         TransactionManagerServices.getTransactionManager() );

To change this, simply register your JTA transaction manager of choice.

Kris

Quoting Pardeep.Ruhil at lntinfotech.com:

> Hi,
> I have query regarding the Transaction Manager in Drools persistence.
> 
> I am working on OFBiz project an application in which I have
> integrated it 
> with Drools. When I try to use the persistence of Drools with OFBiz,
> there 
> is a transaction conflict between them. Since I want to use OFBiz 
> transaction manager i.e. Geronimo. So can you provide me the settings
> to 
> change the default Bitronix Transaction Manager to Geronimo
> Transaction 
> Manager.
> BTW I am using Tomcat as an application server.
> Thanks & Regards
> 
> Pardeep Ruhil
> L&T Infotech Ltd
> Mumbai
> Ph: +919820283884
> 
> Larsen & Toubro Infotech Ltd.
> www.Lntinfotech.com
> 
> This Document is classified as: 
> 
> L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech 
> Internal Use Only   L&T Infotech General Business 
> 
> This Email may contain confidential or privileged information for the
> 
> intended recipient (s) If you are not the intended recipient, please
> do 
> not use or disseminate the information, notify the sender and delete
> it 
> from your system. 
> 
> ______________________________________________________________________




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the rules-users mailing list