7 Replies Latest reply on May 19, 2005 6:59 AM by Mateusz Waglik

    javax.naming.NameNotFoundException: ModelEJB not bound

    Mateusz Waglik Newbie

      Hello I write simple client :
      public class Proba {

      private static final String JNDI_NAME = "ModelEJB";

      public static void main(String[] args) throws NamingException {

      InitialContext ctx = new InitialContext();
      Object obj = ctx.lookup(JNDI_NAME);
      }
      }

      I put EJB jar into default/deploy folder ...

      what is wrong?