4 Replies Latest reply on Jul 23, 2009 10:54 PM by Jean Luc

    EJB @Resource SessionContext not injected when running SeamTests

    Jean Luc Apprentice

      I've just found that an injected EJB resource (specifically, @Resource SessionContext context) is left null when running SeamTests.


      I have an SLSB which uses the context. If I call its methods from a new ComponentTest() { @Override protected void testComponents() {...}}.run(); the session context is still null.


      Has anyone have a solution for this?


      Thanks.