No what I meant (sorry I was not clear) I mean using:
<Resource id="..." type="DataSource"> .... JdbcDriver = org.postgresql.xa.PGXADataSource </Resource> BTW your conf seems ok (https://issues.apache.org/jira/browse/TOMEE-1049) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/27 cpales <[email protected]>: > I've already tried dbcp, even bonecp without any luck. > How can I set up the iirc typed datasource? > Do you mean: > <Resource id="PG1" class-name="org.postgresql.xa.PGXADataSource" > type="iirc"> > databaseName test > serverName localhost > portNumber 5432 > </Resource> > <Resource id="TestDSXA1" type="DataSource"> > DataSourceCreator dbcp > XaDataSource PG1 > JtaManaged true > UserName postgres > Password pass > </Resource> > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Postgres-XA-transaction-rollback-tp4666429p4666433.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
