[ 
https://issues.apache.org/jira/browse/AMQ-9597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich reassigned AMQ-9597:
-----------------------------------

    Assignee: Matt Pavlovich

> Add a metric for incomplete or empty command packages are read via a server 
> transport
> -------------------------------------------------------------------------------------
>
>                 Key: AMQ-9597
>                 URL: https://issues.apache.org/jira/browse/AMQ-9597
>             Project: ActiveMQ Classic
>          Issue Type: Improvement
>            Reporter: Matt Pavlovich
>            Assignee: Matt Pavlovich
>            Priority: Minor
>
> When zero bytes (or incomplete command) sent across the wire, a EOFException 
> can be thrown from the DataInputStream. This may be caused by load balancers, 
> health checks or security scanner tools that are inspecting the up/down of 
> the port, but are not sending an wireformat data across the socket.
> {noformat}
> 024-10-18 14:23:07,844 [ActiveMQ Transport:
> tcp:///127.0.0.1:61616@44966][FailoverTransport:283]
> WARN  org.apache.activemq.transport.failover.FailoverTransport - Transport
> (tcp://127.0.0.1:61616) failed, not attempting to automatically reconnect
> java.io.EOFException: null
>        at
> java.base/java.io.DataInputStream.readFully(DataInputStream.java:210)
>        at
> java.base/java.io.DataInputStream.readInt(DataInputStream.java:385)
>        at
> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:280)
>        at
> org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:240)
>        at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:232)
>        at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)
>        at java.base/java.lang.Thread.run(Thread.java:1583)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to