Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28925

Application using servlet 6.0 cannot be added to WildFly 27 server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.29.0.Final
    • 4.27.0.AM1
    • server
    • None
    • ---

      Description of problem:

      If an application has a web.xml using version 6.0, the application is not available in the Add/Remove dialog for WildFly 27 even though it should be. Forcing the "Dynamic Web Module" facet in the project properties to 5.0 works around the problem.

      Prerequisites (if any, like setup, operators/versions):

      Eclipse 2023-03

      Steps to Reproduce

      1. Import the project at https://github.com/wildfly/quickstart/tree/main/bean-validation-custom-constraint
      2. Right-click the project and open Properties. Click "Project Facets". Initially, "Dynamic Web Module" will be set to 2.5.
      3. Change Dynamic Web Module to 6.0.
      4. Try to add the project to a WildFly 27 server. It won't appear in the Add/Remove list.
      5. Change Dynamic Web Module to 5.0.
      6. Now you can add the project to a WildFly 27 server.

      Actual results:

      Servlet 6.0 is not supported for a WildFly 27 server.

      Expected results:

      Servlet 6.0 is supported since WildFly 27 is certified for Jakarta EE 10, which includes Servlet 6.0.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

            rstryker@redhat.com Robert Stryker
            rdicroce Richard DiCroce (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: