Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9081

Support ServletContainerInitializer placed on WARs

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 12.0.0.Beta1, 12.0.0.Final
    • None
    • None
    • None

    Description

      The Servlet spec only talks about the presence of ServletContainerInitializer's within JAR files bundled on the WAR. It says nothing about what to do when found on the WAR and Undertow is ignored them right now, which is spec complaint.

      However, WildFly has the only Servlet container I'm aware of that ignores that classes, having tested Payara, WebLogic,WebSphere Liberty, Jetty, Tomcat and Resin.

      It would be good to support them on Undertow too.

      I've also opened an issue on the Servlet spec repository, so this can be clarified for future versions of the document: https://github.com/javaee/servlet-spec/issues/179

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            ggam_jira Guillermo González de Agüero (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: