0 Replies Latest reply on Nov 30, 2018 11:32 AM by Antonio C.

    jndi lookup fails in runnable

    Antonio C. Newbie

      hi all, i have a class that extends HttpServlet and implements Runnable.

      if i try to lookup an ejb in a method init the lookup is successful. when instead i'm trying to lookup in method run, the jndi-lookup fails with a NameNotFoundException.

      The namespace is java:app/MyEjbBean!com.test.MyEjbLocal