Hi,
According to http://tomee.apache.org/common-datasource-configurations.html
adding an Oracle XA datasource should be as simple as appending the
following configuration to your tomee.xml:
<Resource id="jdbc/OracleNarDs" type="DataSource">
JdbcDriver oracle.jdbc.xa.client.OracleXADataSource
JdbcUrl jdbc:oracle:thin:@****:1521:****
UserName ******
Password ******
MaxIdle 10
MaxActive 20
ValidationQuery SELECT 1 FROM DUAL
</Resource>
When I add this configuration and start my server, I see the following lines
printed in my logs:
2014-09-09 08:11:40,333 INFO [OpenEJB.startup.service][ | ] Creating
Resource(id=jdbc/OracleNarDs)
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"JdbcUrl" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"UserName" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"Password" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"PasswordCipher" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"ConnectionProperties" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"DefaultAutoCommit" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"DefaultReadOnly" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"InitialSize" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"MaxActive" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,540 WARN [OpenEJB.startup.service][ | ] Property
"MaxIdle" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"MinIdle" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"ValidationQuery" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"TestOnBorrow" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"TestOnReturn" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"TestWhileIdle" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"NumTestsPerEvictionRun" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"PoolPreparedStatements" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"MaxOpenPreparedStatements" not supported by "jdbc/OracleNarDs"
2014-09-09 08:11:40,541 WARN [OpenEJB.startup.service][ | ] Property
"AccessToUnderlyingConnectionAllowed" not supported by "jdbc/OracleNarDs"
Has anyone else encountered this issue before?
Kind regards,
Dries Elliott
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Oracle-XA-datasource-configuration-tp4671692.html
Sent from the TomEE Users mailing list archive at Nabble.com.