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

    EJB @Resource SessionContext not injected when running SeamTests

    jeanluc

      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.