Thank you for the answer. It is very useful. It was related to another problem I have:
I tried to manually install XNAT, but it doesn't work. Perhaps you can help me?
Some time ago I successfully installed (a previous version of) XNAT on Debian.
This time I tried the newer version (xnat-web-1.8.5.1a.war) on Ubuntu 22.04.
I again followed the provided installation manual and all looks fine.
When I go to
http://192.168.0.8:8080/ I get the XNAT login screen.
I enter "admin / admin" to login and there appears a quickly disappearing message that it is working on something.
Then it forwards me to
http://192.168.0.8:8080/setup/ and things go wrong.
The "setup" page shows an error message:
--------------------------
XNAT has encountered an error with your request:
If this error continues to occur, please contact your system administrator with information about how to recreate the problem.
--------------------------
Some details:
Ubuntu 22.04
Java 8:
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~22.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
PostgreSQL 14:
postgres (PostgreSQL) 14.5 (Ubuntu 14.5-1.pgdg22.04+1)
Tomcat9:
Server version: Apache Tomcat/9.0.58 (Ubuntu)
Server built: Jan 6 1970 15:09:28 UTC
Server number: 9.0.58.0
OS Name: Linux
OS Version: 5.15.0-47-generic
Architecture: amd64
JVM Version: 1.8.0_342-8u342-b07-0ubuntu1~22.04-b07
JVM Vendor: Private Build
There is not much in the logfiles, except for a SEVERE error in:
/var/log/tomcat9/localhost.2022-09-15.log
It looks like something is "compiled" with java 11 (55.0) whereas I run java 8 (52.0). But I have no idea what it is or where it belongs to. See below. Does anyone know?
Thanks!