The Datasource must be a JNDI bound datasource exposed by the application server then only it will participate in the a JTA Transaction...