[ https://issues.apache.org/jira/browse/KARAF-7691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831811#comment-17831811 ]
ASF subversion and git services commented on KARAF-7691: -------------------------------------------------------- Commit c7bdb9eea312a8ab4027846dbd57b0ec78f5e690 in karaf's branch refs/heads/main from Ian Thiemann [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=c7bdb9eea3 ] KARAF-7691 Prevent exception on status check by terminating ShutdownSocketThread loop before socket closes > Status check has SocketException > -------------------------------- > > Key: KARAF-7691 > URL: https://issues.apache.org/jira/browse/KARAF-7691 > Project: Karaf > Issue Type: Bug > Components: karaf > Reporter: Ian Thiemann > Assignee: Jean-Baptiste Onofré > Priority: Minor > > Calling a status check logs the following as well > {code:java} > o.a.k.m.ShutdownSocketThread | Karaf shutdown socket: read: > java.net.SocketException: Connection reset > at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186) > at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140) > at java.base/java.net.SocketInputStream.read(SocketInputStream.java:200) > at > org.apache.karaf.main.ShutdownSocketThread.run(ShutdownSocketThread.java:101) > {code} > This seems to be caused by a socket being opened to check if it can connect > to the shutdown port and then immediately being closed without a proper > shutdown signal. > This issue does not affect functionality, but it is overloading logs with > irrelevant exceptions which is an inconvenience. -- This message was sent by Atlassian Jira (v8.20.10#820010)