https://issues.apache.org/bugzilla/show_bug.cgi?id=56684
--- Comment #6 from Konstantin Kolinko <knst.koli...@gmail.com> --- Javadoc for ServerSocket.accept() says that SocketTimeoutException can be thrown by the method "if a timeout was previously set with setSoTimeout". [1] [1] http://docs.oracle.com/javase/7/docs/api/java/net/ServerSocket.html#accept%28%29 BTW, Javadoc for ServerSocket.setSoTimeout() says that to set an infinite timeout one uses the value of "0". Is somebody confusing '0' and '-1'? I think the javadoc for ServerSocket.accept() implies that the default timeout is infinite. So I think it is a JRE bug. In general it makes some sense to protect against this. A timeout is not a "receiving a valid shutdown command" event, and encountering a timeout does not make the server socket an invalid one, so we should be able to continue. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org