chuckadams wrote : You can't depend on the EJB3 container being initialized
in a @BeforeClass/beforeTestClass method, because it does in fact run before
the embedded container is started by SeamTest.init().
|
Yep got the same problem. But with your idea you will get the same problem.
It's
ok i see. But my Problem is that nothing is workin, even grabbin the component
out of the JNDI. (nothing else the seam.core.Component is doing)
What can be the problem? That I can't get anything of the seems to be loaded
Components?
| Object test =
[EMAIL PROTECTED] wrote : As I said that JNDI pattern is *wrong* for embedded
ejb3. It should be
|
Super this is working right now! Sorry that i didn't get what u have meant, i
changed the jndipattern in the ant build.
Thx for your support!
View the original post :
As far as I know, withhin testing stuff You should use the getInstance() method
of the SeamTest
Cuz it has a lot MockImplementations.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073054#4073054
Reply to the post :