Are you sure you have your DataSource configured properly? http://openejb.apache.org/configuring-datasources-in-tests.html ... p.put("myDataSource.JtaManaged", "true"); -- View this message in context: http://openejb.979440.n4.nabble.com/JUnit-embedded-OPENEJB-and-XAResource-problems-tp4269488p4269649.html Sent from the OpenEJB User mailing list archive at Nabble.com.