2 Replies Latest reply on May 20, 2002 9:04 PM by Julian Gosnell

    ServletContextListener & ENC

    Bogdan Ghidireac Newbie

      Hi,

      I want to use ServletContextListener to create an EJB used to initialize my application.
      When I am trying to lookup my bean, I get a javax.naming.NameNotFoundException: env not bound

      If I lookup the bean from a JSP then it is ok.

      Is ENC created after ServletContextListener.contextInitialized method is executed ? Is this the normal behaviour ? (I am using JBoss3.0.0RC2-Jetty)

      Thanks,
      Bogdan