"Check your stack:
org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy
is used for a JTA em so you didnt configure the transaction strategy. "

Oh yes, I did. The post includes the following excerpt:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/beans_1_0.xsd";>
  <alternatives>
   
<class>org.apache.deltaspike.jpa.impl.transaction.ContainerManagedTransactionStrategy</class>
  </alternatives>
</beans>

which is supposed to be the way, further to your documentation, to configure
the transaction strategy.



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

Reply via email to