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

Explore impact of Java EE removal in Jenkins Core with Java 11

      Java 11 removes Java EE, which is used in the Jenkins Core and some libraries. Somebody needs to explore Jenkins startup & Operation and to see what breaks there

          [JENKINS-51821] Explore impact of Java EE removal in Jenkins Core with Java 11

          Oleg Nenashev added a comment -

          So, Jenkins does not start up. Java EE modules need to be added to WAR libraries. We can do it relatively easily, but it needs a patch.
          https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j

          Oleg Nenashev added a comment - So, Jenkins does not start up. Java EE modules need to be added to WAR libraries. We can do it relatively easily, but it needs a patch. https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j

          Oleg Nenashev added a comment -

          I was able to get Jenkins running by dropping 3 extra libs into the exploded WAR:

          jaxb-api-2.3.0.jar
          jaxb-core-2.3.0.1.jar
          jaxb-impl-2.3.0.1.jar

          Just adding classpath apparently does not work.

          But we can apply some tweaks to Jenkins Explode WAR logic so that these libs get installed on Java 9+ without special options and without migrating build to Java 9.

          Oleg Nenashev added a comment - I was able to get Jenkins running by dropping 3 extra libs into the exploded WAR: jaxb-api-2.3.0.jar jaxb-core-2.3.0.1.jar jaxb-impl-2.3.0.1.jar Just adding classpath apparently does not work. But we can apply some tweaks to Jenkins Explode WAR logic so that these libs get installed on Java 9+ without special options and without migrating build to Java 9.

          Oleg Nenashev added a comment -

          Impact explored and discussed with Project Jigsaw Leads.
          JENKINS-51965 is a follow-up, nothing left to do here

          Oleg Nenashev added a comment - Impact explored and discussed with Project Jigsaw Leads. JENKINS-51965 is a follow-up, nothing left to do here

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: