Here is the trace which is from startup.log (tomcat)
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
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.lang.Thread.run(Thread.java:745)
Using below URL to connect broker:
failover:(ssl://{0}?wireFormat.maxInactivityDuration=0)?maxReconnectAttempts=5
{0} - actual ip address to connect
Added the maxinactivity =0 because of below WARN, but getting this exception in log 5 times a day.
org.apache.activemq.transport.InactivityIOException: Channel was inactive for too (>30000) long: tcp://127.0.0.1:52659
whats wrong with my configurations? or should i investigate further in ssl or tcp connection transport layers? what is the reason behind the exception?