Sentinel cannot persist Telemetry when running under OracleJDK 11
Description
It looks like JAXB is not part of OpenJDK 11 or something like that, as I'm seeing ClassNotFoundException on karaf.log when running Sentinel with this version of Java.
When running the same Sentinel version under OpenJDK or Oracle JDK 8, there are no issues, and the persistence of Telemetry works as expected.
Here is a section of the exception in question:
At this point, Minion doesn't seem affected, but maybe it worth fixing our Docker images to use OpenJDK 8 for now, and let the users know about this problem, until the problem between Java11 and JAXB is fixed.
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Jesse White July 31, 2019 at 1:49 PM
This was fixed in develop while reworking the smoke tests to use the new Docker images (which run on OpenJDK 11).
Alejandro Galue June 20, 2019 at 3:07 PM
This was tested using the Docker Image for Sentinel, but this applies to standalone installations running on not-containerized environments as well.
If there are temporary workarounds, besides running with Java 8, I'd like to know about them.
It looks like JAXB is not part of OpenJDK 11 or something like that, as I'm seeing ClassNotFoundException on karaf.log when running Sentinel with this version of Java.
When running the same Sentinel version under OpenJDK or Oracle JDK 8, there are no issues, and the persistence of Telemetry works as expected.
Here is a section of the exception in question:
At this point, Minion doesn't seem affected, but maybe it worth fixing our Docker images to use OpenJDK 8 for now, and let the users know about this problem, until the problem between Java11 and JAXB is fixed.