activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: [VOTE RESULT] Failover problem with ConsumerTool and JDBC Master-SLAVE
Date Mon, 05 Mar 2007 17:16:26 GMT
On 3/5/07, Matías Cobiella <matiascobiella@yahoo.com> wrote:
>
> Here is.
>
> Connecting to URL: failover:(tcp://localhost:11111,tcp://localhost:22222)
> Consuming queue: TOOL.DEFAULT
> Using a non-durable subscription
> [INFO] FailoverTransport - -Successfully reconnected to
> tcp://localhost:11111
> Received: Message: 0 sent at: Mon Mar 05 12:54:10 GMT-03:00 ...
> Received: Message: 1 sent at: Mon Mar 05 12:54:16 GMT-03:00 ...
> Received: Message: 2 sent at: Mon Mar 05 12:54:21 GMT-03:00 ...
> java.net.SocketException: Connection reset
>         at java.net.SocketInputStream.read(SocketInputStream.java:168)
>         at
> org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:49)
>         at
> org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:56)
>         at java.io.DataInputStream.readInt(DataInputStream.java:353)
>         at
> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
>         at java.lang.Thread.run(Thread.java:595)
> [WARN] FailoverTransport - -Transport failed, attempting to automatically
> reconnect due to: java.net.SocketException: Connection reset
> <java.net.SocketException: Connection reset>

Does the consumer fail? Or does it manage to reconnect & just never
receive any more messages?

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message