I unfortunately reverted the server to our Ubuntu 20.04 image.
But we are running the following:
XNAT version 1.8.7.1, build: 30
Ubuntu 20.04 LTS
Tomcat9 (from ubuntu repo)
OpenJDK8 (from ubuntu repo)
The closest I could get to a useful error message is a crash in Catalina.out whenever I hit certain pages, notable the admin page.
29-Apr-2023 22:00:14.653 SEVERE [http-nio-8080-exec-11] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() forservlet [dispatcher] in context with path [] threw exception [java.lang.UnsupportedClassVersionError: org/eclipse/jdt/internal/compiler/env/INameEnvironment has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0] with root cause
java.lang.UnsupportedClassVersionError: org/eclipse/jdt/internal/compiler/env/INameEnvironment has been compiled by a morerecent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versionsup to 52.0
My best guess is the Tomcat9 version on Ubuntu 22.04 LTS is built with a newer version of Java perhaps? Then this causes issues with XNAT being built with Java8? I only think this because all advice for this error message is to move to Java 11.
Either way the best option for me was to rollback my server VM to Ubuntu 20.04 LTS, since the database / file storage is separate and this was possible without major issues.