tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amber <ambe...@hotmail.fr>
Subject Re: OpenEJB testing REST services
Date Tue, 15 Apr 2014 16:06:15 GMT
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.

Mime
View raw message