1 Reply Latest reply on Nov 5, 2007 7:11 PM by Radu Cirstoiu

    javax.naming.NameNotFoundException when deploying inside .ea

    Radu Cirstoiu Newbie

      I'm learning EJB 3.0 and so far I had 2 eclipse projects (an ejb ant project (similar to OReilly Enterprise JavaBeans Workbook project) and a war project managed by eclipse) and I decided I want to deploy both in an .ear file.
      Until now, everything worked fine, but now when I try to look up a bean in one of the servlets I get a javax.naming.NameNotFoundException:

      "javax.naming.NameNotFoundException: UserManagerBean not bound" ...

      But in the jboss console I get:

      "01:32:50,515 INFO [EJBContainer] STARTED EJB: com.website.Stateless.UserManager
      Bean ejbName: UserManagerBean" .

      Any idea why I can't look it up?