tomcat8: Errors thrown when connecting to default HTTP connector (localhost:8080)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat8 (Debian) |
New
|
Unknown
|
|||
tomcat8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Testing tomcat8 (8.5.30-1ubuntu1) with openjdk-
25-Apr-2018 13:44:00.135 SEVERE [http-nio-
java.lang.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at java.util.
at java.util.
at org.apache.
at java.lang.
This same configuration was working ~2 weeks ago in early 2018-04. Looking at the tomcat8 publishing history for Ubuntu bionic[0] I see the package was recently synced from Debian sid. There is currently an open bug for this in Debian[1], the resolution of which states that tomcat8 8.5.30-1 was compiled with OpenJDK 9 and therefore will not run with OpenJDK 8.
[0] https:/
[1] https:/
Changed in tomcat8 (Debian): | |
status: | Unknown → New |
This seems to be related to my bug https:/ /bugs.launchpad .net/ubuntu/ +source/ tomcat8/ +bug/1766697 (sorry if this is the wrong way to link another bug). If the explanation is correct, dependencies and the init script in the tomcat8 package should be changed.
My 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