tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: openEJB fail on second test
Date Sun, 19 Feb 2012 21:14:36 GMT
without more info i'm not sure what i'll say is relevant but typically you
can createcontainer and close it in @BeforeClass and @AfterClass. To do it
only once you need to
set OpenEjbContainer.Provider.OPENEJB_ADDITIONNAL_CALLERS_KEY property with
the names of test classes.

- Romain


2012/2/19 amber <amber63@hotmail.fr>

> beans.xml did not change anything
>
> but..I've found a turnaround : just add ejbContainer.close(); in "@After
> public void release()" method in each test ^^
>
> Why I have to do that I don't know but it's working now
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-fail-on-second-test-tp4401889p4402384.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message