Hi,
Thanks, I had to make another small change, but I got it to work using the
configuration below:
<Resource id="jdbc/OracleNarDs" type="DataSource">
XaDataSource jdbc/OracleNarDsXa
DataSourceCreator dbcp
MaxIdle 10
MaxActive 20
ValidationQuery SELECT 1 FROM DUAL
Username ****
Password ****
</Resource>
<Resource id="jdbc/OracleNarDsXa"
class-name="oracle.jdbc.xa.client.OracleXADataSource">
Url jdbc:oracle:thin:@****:1521:****
</Resource>
It seems I had to move the username and password properties from
OracleNarDsXa to OracleNarDS. I have no idea why that was necessary, but it
seems to have done the job.
Kind regards,
Dries Elliott
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Oracle-XA-datasource-configuration-tp4671692p4671698.html
Sent from the TomEE Users mailing list archive at Nabble.com.