tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afryer <apfr...@hotmail.com>
Subject Re: openEJB fail on second test
Date Mon, 20 Feb 2012 00:42:31 GMT
Amber, that sounds really similar to the issue i just had described 
http://openejb.979440.n4.nabble.com/Injection-fails-in-any-class-that-didn-t-instantiate-an-embedded-ejb-container-td4396189.html
here .  In my case i had an ejb container instantiated just once and reused
across test cases which sounds similar to your issue.

The fix for me was to upgrade to use openejb 4.0.0-beta-2 and use the
@ManagedBean annotation on my test case classes.

--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-fail-on-second-test-tp4401889p4402907.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message