This seems to be related to https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1766882 (sorry if this is the wrong way to link another bug). My problem probably was that I was using OpenJDK 8. If the explanation is correct, dependencies and the init script in the tomcat8 package should be changed.
Workaround:
- Install openjdk-11-jre-headless
- Change init script /etc/init.d/tomcat8:
61c61
< for java_version in 9 8
---
> for java_version in 11 9
This seems to be related to https:/ /bugs.launchpad .net/ubuntu/ +source/ tomcat8/ +bug/1766882 (sorry if this is the wrong way to link another bug). My problem probably was that I was using OpenJDK 8. If the explanation is correct, dependencies and the init script in the tomcat8 package should be changed.
Workaround:
- Install openjdk- 11-jre- headless
- Change init script /etc/init. d/tomcat8:
61c61
< for java_version in 9 8
---
> for java_version in 11 9