Change 370835: Enforce minimum Java version to Java 11.0.10 or higher
Since release 3.5 the minimum supported java version was raised to Java 11. Since Change 335625 the minimum Java version 11.0.10 is required.
> Do you mean Gerrit as a whole is never responsive or just that the> sshd never works?
com.sun.management.ThreadMXBean#getCurrentThreadAllocatedBytes.
This workaround was removed in https://gerrit-review.googlesource.com/c/gerrit/+/335625 when the bazel
version we used at this time used a newer Java version supporting this method.
Since then (3.7.0) at least Java 11.0.10 is required. Though it's recommended to use the latest bugfix release
of the Java version required by the respective Gerrit version. For Java 11 that's currently 11.0.23.
I'm quite confident this did not appear before but was suppressed by the sshd error messages, but this was probably the underlying issue.To me, the java.lang.NoSuchMethodError seems to be the culprit. Now when I have a new thing to search for, I was able to find this thread -> https://groups.google.com/g/repo-discuss/c/ANIrtqI5YVc and it does indeed seem to be a Java version issue.I have now downgraded to 3.6.8 following the Downgrade instructions in the 3.7 release notes. The server is back up and running.Two questions:1. Who should one get in contact with concerning updating the release notes to say that the Java version-issue is present already in 3.7.0, not only in 3.7.2?
2. Is it possible to circumvent this or is upgrading Java the only way forward?
Best regards,ErikOn Thursday, July 11, 2024 at 1:25:38 AM UTC+2 Clark Boylan wrote:On Wed, Jul 10, 2024 at 4:06 PM Erik Thorsell <thorse...@gmail.com> wrote:
>
> Hi,
>
> I'm on an upgrade train with a very old system.
>
> System info
> Debian 10
> Java 11.0.7
> Apache/2.4.38 (Debian) handling authentication via HTTP_LDAP
>
> Background
> When I started upgrading, Gerrit was at 3.5.0.1. I have slowly made my way through:
>
> * 3.5.2
> * 3.5.6
> * 3.6.0 (before running init, I ran the copy-approvals command on 3.5.6)
> * 3.6.2
> * 3.6.6
> * 3.6.8
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/6c8df352-d735-4e6b-9ce1-8f9e009819b6n%40googlegroups.com.