2 Replies Latest reply on Mar 10, 2011 11:28 AM by Kyle Watson

    ResteasyBootstrap runs before EJBs are bound

    Kyle Watson Newbie

      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.