Ian Thiemann created KARAF-7691:
-----------------------------------

             Summary: 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


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)

Reply via email to