Can you remove the ApplicationScoped on the EMProducer and see if that helps?
On Sun, Oct 5, 2014 at 4:58 PM, hwaastad <[email protected]> wrote: > Hi TH, > and thanks for answering. > > I'm running JTA datasource and running repository within an EJB > transaction. > > However, what I found out is that I need the entoitymanagerconfig with > resolver or else this error occurs. > > I've made a simple test project > (https://github.com/hwaastad/TomeeDsValidation.git) > > So if you remove the > @EntityManagerConfig(entityManagerResolver = > CrmEntityManagerResolver.class,flushMode = FlushModeType.COMMIT) > > Then this error will occure. > Any idea why? > > > br hw > > > > -- > View this message in context: > http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/ContainerManagedTransactionStrategy-tp4659084p4659102.html > Sent from the Apache DeltaSpike Incubator Discussions mailing list archive > at Nabble.com. >
