JBoss Community

Drools, Spring integration and JTA in container

created by bodi bajk in jBPM - View the full discussion

Hey,

 

I'm trying to setup JTA in Drools - Spring: META-INF/persistence.xml(JTA, jta-data-source) and Spring descriptor.

 

some examples:

http://erich.soomsam.net/2007/04/24/spring-jpa-and-jta-with-hibernate-and-jotm/

http://www.mail-archive.com/rules-users@lists.jboss.org/msg17133.html 

 

Unfortunately org.drools.persistence.session.SingleSessionCommandService class dosn't work with  JTA (org.springframework.transaction.jta.JtaTransactionManager)

 

In the second case, when I using RESOURCE_LOCAL persistence unit, it works.

 

Is it possible setup drools configuraion with JTA?

Reply to this message by going to Community

Start a new discussion in jBPM at Community