Actually JDBCDriver expects a Driver implementation, OracleXADataSource is a datasource implementation. We tolerate it but in this case you must also configure the underlying datasource instance.
More on http://tomee.apache.org/admin/configuration/resources.html and http://tomee.apache.org/datasource-config.html (the very end for this one) Le jeu. 19 juil. 2018 à 17:26, maciejka <[email protected]> a écrit : > I am quite new to TomEE and maybe thats why I dont understand Your point. > > You wrote 'you didnt set oracle driver as jdbcdriver' > > Isn't below configuration setting oracle driver as jdbcdriver? : > > <Resource id="jdbc/xxx" type="DataSource"> > *jdbcDriver=oracle.jdbc.xa.client.OracleXADataSource * > ... > > You wrote 'you must configure the datasource too' - haven't I just done > that > by defining Resource? > > I used instruction from: > http://tomee.apache.org/datasource-config.html > > Could You give a template of sample config? > Should I configure something more than: > <Resource id="jdbc/xxx" type="DataSource">...? > > > > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html >
