Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69768

Not deploying on JDK 17 with Tomcat 10.1 or Wildfly 27 Beta1

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Fedora 36, Ubuntu 22.04, Windows 11
    • 2.479.1

      Hey guys,

      According with your documentation the latest version (Not LTS) is compatible with JDK 17, well, I tried it on Fedora 36, Ubuntu 22.04 and Windows 11 with OpenJDK 17 using WildFly 27 Beta1 and Apache Tomcat 10.1 and it fails everywhere, is there something wrong in the last few .war files?

      Thanks.

          [JENKINS-69768] Not deploying on JDK 17 with Tomcat 10.1 or Wildfly 27 Beta1

          Jorge Hernandez created issue -

          I asked the people from WildFly and Apache and they just told me that Jankins uses an older version of JavaEE/Jakarta, they say Jenkins uses version 8 while their server uses version 10, version 8 might be good for JDK 11, but for compatibility with JDK 17 it must use Jakarta version 10, would this be possible? or this is another one of the "That's how Java works" things that pisses off everybody? including me and that's why I avoid Java at all cost.

          Thanks.

          Jorge Hernandez added a comment - I asked the people from WildFly and Apache and they just told me that Jankins uses an older version of JavaEE/Jakarta, they say Jenkins uses version 8 while their server uses version 10, version 8 might be good for JDK 11, but for compatibility with JDK 17 it must use Jakarta version 10, would this be possible? or this is another one of the "That's how Java works" things that pisses off everybody? including me and that's why I avoid Java at all cost. Thanks.

          Mark Waite added a comment -

          Our first focus for Java 17 support is to run in the Jetty container that is included with Jenkins.  I'm not aware of any Jenkins core maintainers that are actively testing with WildFly 27 Beta1 or with Tomcat 10.1.

          JENKINS-68698 tracks the Jakarta EE 9 migration.  Once Jakarta EE 9 migration is complete, we'll consider Jakarta EE 10.

          JENKINS-67908 is the first of a series of epics that track Java 17 support.

          Mark Waite added a comment - Our first focus for Java 17 support is to run in the Jetty container that is included with Jenkins.  I'm not aware of any Jenkins core maintainers that are actively testing with WildFly 27 Beta1 or with Tomcat 10.1. JENKINS-68698 tracks the Jakarta EE 9 migration.  Once Jakarta EE 9 migration is complete, we'll consider Jakarta EE 10. JENKINS-67908 is the first of a series of epics that track Java 17 support.
          Mark Waite made changes -
          Summary Original: Not deloying on JDK 17 New: Not deloying on JDK 17 with Tomcat 10.1 and Wildfly 27 Beta1
          Mark Waite made changes -
          Summary Original: Not deloying on JDK 17 with Tomcat 10.1 and Wildfly 27 Beta1 New: Not deploying on JDK 17 with Tomcat 10.1 or Wildfly 27 Beta1
          Mark Waite made changes -
          Labels New: tomcat
          Mark Waite made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: _unsorted [ 19622 ]

          Mark Waite added a comment -

          The Servlet Container Support Policy page is the official reference for Jenkins support of servlet containers like Tomcat and Wildfly. Tomcat 10 or later and Wildfly 27 or later are unsupported and known to not work.

          The Winstone container that is bundled in the Jenkins WAR file is the preferred web container because it is the most frequently tested and most actively maintained.

          Mark Waite added a comment - The Servlet Container Support Policy page is the official reference for Jenkins support of servlet containers like Tomcat and Wildfly. Tomcat 10 or later and Wildfly 27 or later are unsupported and known to not work. The Winstone container that is bundled in the Jenkins WAR file is the preferred web container because it is the most frequently tested and most actively maintained.

          Mark Waite added a comment -

          Jenkins supports Jakarta EE 9 as of Jenkins 2.479.1.

          Mark Waite added a comment - Jenkins supports Jakarta EE 9 as of Jenkins 2.479.1.
          Mark Waite made changes -
          Released As New: 2.479.1
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            jorgecarousel Jorge Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: