2 Replies Latest reply on Mar 10, 2011 11:28 AM by kyle.watson

    ResteasyBootstrap runs before EJBs are bound

    kyle.watson

      Hello,

       

      I'm using RESTEasy with EJBs and am setting the context params before the bootstrap

       

          <context-param>

              <param-name>resteasy.jndi.resources</param-name>

              <param-value>

                  AccountInformationServiceImpl/remote

                  SomeServiceImpl/remote

                  AlertServiceImpl/remote

                  OtherServiceImpl/remote

              </param-value>

          </context-param>

       

          <listener>

              <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>

          </listener>

       

      But, the listener runs before all of the EJBs are bound so I get a NameNotFoundException.