I would propose the following:

"In the case of some versions of Weld, including but not limited to Weld
1.1.36 which comes with JBoss EAP/Wildfly, or OpenWebBeans in BDA mode, you
have to configure it as a global alternative instead of an alternative in
beans.xml. That means you have to add either

globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy
=org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy

or

globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy
=org.apache.deltaspike.jpa.impl.transaction.ContainerManagedTransactionStrategy

depending on your BMT/CMT strategy, to the
/META-INF/apache-deltaspike.properties file"



--
View this message in context: 
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/A-JTA-EntityManager-cannot-use-getTransaction-tp4663224p4663238.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
Nabble.com.

Reply via email to