Hi

Did you try setting a non jta datasource and adding in
conf/system.properties:
openejb.autocreate.jta-datasource-from-non-jta-one=false ?

This is our default cause openjpa uses non jta datasource to create the db
even in jta mode.
Le 21 nov. 2014 18:34, "hwaastad" <[email protected]> a écrit :

> Hi,
> I'm still playing around with tomee :-)
>
> So, I'm testing out a polygot persistence configuration but are hitting an
> issue which I do not know is a eclipselink or tomee issue.
>
> https://github.com/hwaastad/TomeePolygot.git
>
> I've read using resource_local is the way to go but the tomee logs
> complains
> about:
> PU has transactionType JTA, but does not have a jtaDataSource defined
>
> even through my persistenceunits are configured with RESOURCE_LOCAL.
>
> (forcing eclipselink as default provider in system.properties, btw)
>
> Any comments anyone?
>
> br hw
>
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/tomee-eclipselink-and-polygot-persistence-tp4672983.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to