Actually, the solution was easier than I thought:

<Resource id="myDS" type="DataSource">
  JdbcDriver oracle.jdbc.xa.client.OracleXADataSource
  JdbcUrl jdbc:oracle:thin:@hostname:port:ora
  UserName **
  Password **
  PasswordCipher Static3DES
  JtaManaged false
</Resource>

I did my civic duty :) and updated the common-datasource-configuration
documentation page with the XA configuration, fixing an error too (It was
still stated that TomEE relies Apache Commons DBCP instead of Tomcat pool).

Davide



--
View this message in context: 
http://openejb.979440.n4.nabble.com/DataSource-Password-Encryption-tp4658424p4658524.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to