2 Replies Latest reply on Apr 13, 2006 3:55 PM by Daniel Cardin

    Problem with Embeddable EJB3

    Daniel Cardin Newbie

      I have a stateless bean that I deploy and can lookup in a standard JBoss install. I try to test it with the embeddable ejb3 edition and the lookup returns null.

      now... Just to make sure I am not missing something obvious.

      I have @Resource EJBContext ctx;

      ...

      ctx.lookup("ObjectName/local") <-- returns null

      It should return an instance of the object right ? There is nothing different about the embedded version ?

      ps. I HAVE to do a lookup, I cannot use @EJB for this.

      Thanks

      Daniel