Hi,

Resolved by declaring user and password in the URL of every dataSource in
tomee.xml as below :

        <Resource id ="jdbc/myDataSource" type="DataSource" >
        XaDataSource    jdbc/myXADataSource
        UserName        myUser
        Password        myPassword
        JtaManaged      true
        ValidationQuery SELECT 1 FROM DUAL
        </Resource>             

        <Resource id ="jdbc/myXADataSource" class-name
="oracle.jdbc.xa.client.OracleXADataSource">            
        Url     jdbc:oracle:thin:myUser/myPassword@localhost:1521:MyService
        dataSourceCreator dbcp
        </Resource>             


have look to ->  https://issues.jboss.org/browse/JBTM-619
<https://issues.jboss.org/browse/JBTM-619>  





--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Reply via email to