For the null, error, we have to explicit close the ejbcontainer :
init :
...
ejbcontainer = EJBContainer.createEJBContainer(p);
...
@AfterClass
public static void stop() {
if (context != null) {
context.close();
ejbcontainer.close();
}
}
works fine on one module Maven, but on another still some tests failure only
with eclipse (ok with Maven)...
Working with both openEJb embedd and jaxrs seems .. not easy ?
--
View this message in context:
http://openejb.979440.n4.nabble.com/OpenEJB-testing-REST-services-tp4668791p4668798.html
Sent from the OpenEJB User mailing list archive at Nabble.com.