I found out that JBoss AS doesn't know which TransactionManager to use here.
Environment env = KnowledgeBaseFactory.newEnvironment();
session = JPAKnowledgeService.newStatefulKnowledgeSession(knowledgeBase,
So, what goes in place of XXXX in EJB3 application on JBoss 5.1.0.GA?
In persistence.xml I have this line
in both persistence units (one for "org.drools.persistence.jpa" and the
other for "org.drools.task").
I also tried this:
TransactionManager tm = (TransactionManager) new
but it doesn't work either.
Is this something obvious that I don't see?
Please help, I'm stuck on this for too long...
View this message in context:
Sent from the Drools - User mailing list archive at Nabble.com