Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1592

ResteasyServletContainerInitializer and ConfigurationBootstrap do not access the same initialization parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.1.0.Final
    • jaxrs
    • Hide

      Simply try to deploy a Spring-based application using 3.1.0.Final - none of the @Path annotated controllers are detected.

      Show
      Simply try to deploy a Spring -based application using 3.1.0.Final - none of the @Path annotated controllers are detected.

      The code in the ResteasyServletContainerInitializer writes the detected resources and providers list to the dynamically created servlet initialization parameters, but the deployment information created in ConfigurationBootstrap#createDeployment accesses the global ServletContext - thus not finding the detected resources list and thinking that no resources/providers where detected.

              rsearls r searls
              lyorg Lyor Goldstein (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: