Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7841

Regression: Missing JAXB in JDK11 and lack of bundled API JAR causes complication error for Acme classes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.0.1
    • Fix Version/s: EJBCA 7.2.0
    • Component/s: Install-script
    • Labels:
      None
    • Environment:
      Ubuntu 64 bit
      Oracle Java 11
      WildFly 14
      MariaDB

      Description

      After setting up all required dependencies on an Ubuntu 64bit VM

      STEPS:

      1.  Configure ejbca to use the WildFly appserver in the ejbca.properties file.

      2.  Also move sample files for install.properties, database.properties and cesecore.properties from same.

      3.  Run ant -q clean deployear in the /ejbca folder

      Expected:  Success

      Results:  See screenshot.

      Failure analysis

      • With http://openjdk.java.net/jeps/320 Java EE classes were deprecated and later removed from Java SE.
      • ECA-7791 updated to the JEE API JAR (lib/jee/javaee-api-6.0-6.jar) to JEE7 (lib/jee/javaee-api-7.0-1.jar) where javax.xml.bind.annotation is no longer present.

      This combination now causes compilation to fail on JDK11.

      Resolution

      We should bundle JEE7 compliant API JAR for JAXB as well. We do have one for the hibernate bundle, but this seem to be version 2.3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuel Samuel Lidén Borell
                Reporter:
                margarett Margaret Thomas
                Verified by:
                Ulf Undmark
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 1 hour
                  1h