-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use JRE11 #441
Conversation
Signed-off-by: Alessandro Pezze' <igougi.ui@gmail.com>
Signed-off-by: Alessandro Pezze' <igougi.ui@gmail.com>
Resolved affected libraries
Yeah Henrik, I don't really know the issue there with log4j and the multi-release jARs. The other day I also saw that you upgraded to log4j2, maybe that did the trick, I don't know. I just suggest you try this PR out or try to update your internal images to use the JRE11. If everything works, we are happy, otherwise you can just discard this PR. |
rest-lib-utils fails with the error -
I changed the root pom.xml to add the manifest entries but still does not work. The manifest entry for rest-lib-utils has not yet changed. We do not have a Multi-Release entry in the MANIFEST file. We need to check on this. |
rest-backend fails too -
I am not sure why this fails. We also get these warnings during startup -
Found some related issues -
We need more investigation in upgrading the java version to 11 for rest-lib-utils and rest-backend. |
Alright, thank you @sumeetpatil for checking. I propose to put this on hold for the next few days and look at possible fixes once we finished some other works. |
…ent-tool into change-groupid
…ent from distributionManagement sections; Prepared release on Eclipse's Nexus
Update rest-backend and rest-lib-utils to SpringBoot 2.5.1
Updated Jenkins pipeline and underlying Docker image
Updated maven-gpg-plugin and added condition on tag name to trigger deployments on Maven Central
Added timeout to rest_template for Maven Central
Signed-off-by: Alessandro Pezze' <igougi.ui@gmail.com>
Signed-off-by: Alessandro Pezze' <igougi.ui@gmail.com>
A couple of days ago I came to know that one can compile a JAR using the JDK8 and run it on the JRE11. Apparently, this was a feature of Java since the early days. So this PR enables the usage of the JRE11 which is an LTS version (supported till 2024). To use the JRE11 I had to switch from Alpine to Debian-Slim.
The new JRE offers more stability and I also think performance improvements (new GC G1GC). Maybe all those problems of the GC continuously using the CPU and recycling objects will be gone.
The Docker Compose test here in Travis passed successfully, but still if you want to introduce these new changes I suggest to try and perform some scans before merging.
Ah, I also updated the compose manifest version from
2.0
to2.4
, I don't know why we were using the2.0
. Please check that it does not break anything.TODO
s