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

    ServletContextListener & ENC

    ghidi

      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