FailoverTransport - not attempting to automatically reconnect: java.io.EOFException

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FailoverTransport - not attempting to automatically reconnect: java.io.EOFException

Januszek
ConnectionURL

failover:(tcp://broker1:61616,tcp://broker2:61616)?andomize=false&jms.useAsyncSend=false&jms.dispatchAsync=false&maxReconnectAttempts=30&maxReconnectDelay=3000&jms.prefetchPolicy.queuePrefetch=1000

Performing a failover by simply turning off broker1 - ./activemq stop

Following exception is thrown:
10:46:23,366 WARN  [org.apache.activemq.transport.failover.FailoverTransport] Transport (broker1) failed, reason:  , not attempting to automatically reconnect: java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:375) [:1.6.0_121]
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:258) [:5.10.0]
        at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:221) [:5.10.0]
        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:213) [:5.10.0]
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196) [:5.10.0]
        at java.lang.Thread.run(Thread.java:682) [:1.6.0_121]

and my message listener is not moved to secondary broker.

What is the reason reconnection is not attempted?

thanks in advance