[
https://issues.apache.org/jira/browse/KARAF-7691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831812#comment-17831812
]
ASF subversion and git services commented on KARAF-7691:
--------------------------------------------------------
Commit ebdb02da26cea3de5da6086187917c0a50776bfb in karaf's branch
refs/heads/main from JB Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=ebdb02da26 ]
Merge pull request #1827 from i-thiemann/KARAF-7691
KARAF-7691 Prevent SocketException on status check
> 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)