https://bz.apache.org/bugzilla/show_bug.cgi?id=63379
Bug ID: 63379
Summary: Tomcat socket listening timeouts
Product: Tomcat 9
Version: 9.0.16
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
We just updated from JDK8 to JDK11 and our Tomcat started reporting this
warning (we use Docker image tomcat:9-jre11-slim):
2019-04-17 10:17:35.060 WARNING [:tomcat]
org.apache.catalina.core.StandardServer The socket listening for the shutdown
command experienced an unexpected timeout [256] milliseconds after the call to
accept(). Is this an instance of bug 56684?
java.net.SocketTimeoutException: Accept timed out
at java.base/java.net.PlainSocketImpl.socketAccept(Native Method)
at
java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458)
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:551)
at java.base/java.net.ServerSocket.accept(ServerSocket.java:519)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:607)
at org.apache.catalina.startup.Catalina.await(Catalina.java:722)
at org.apache.catalina.startup.Catalina.start(Catalina.java:668)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
The bug #56684 mentioned in the warning refers to this:
https://bz.apache.org/bugzilla/show_bug.cgi?id=56684 - which is probably fixed
and not very relevant.
We get hundreds of these exceptions in our logs and we have disabled it with
setting -1 to the shutdown port as a temporary solution.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]