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:35:57 GMT
I'm totally stumped :)

One final idea - do you get exactly the same behaviour runing via Ant
as via Eclipse?

On 3/5/07, Matías Cobiella <matiascobiella@yahoo.com> wrote:
>
> Does the consumer fail?
>
> Yes, the ConsumerTool.java terminates with that error.
>
> Or does it manage to reconnect & just never
> receive any more messages?
>
> ConsumerTool doesn't manage reconnect at all.
>
>
>
> James.Strachan wrote:
> >
> > 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>
> >
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Failover-problem-with-ConsumerTool-and-JDBC-Master-SLAVE-tf3336396s2354.html#a9316272
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>


-- 

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

Mime
View raw message