[rabbitmq-discuss] Connection problems with Rabbitmq 1.4.0

Maarten Engelen maarten at iridia.nl
Thu Nov 27 12:14:39 GMT 2008


Matthias,

2008/11/27 Matthias Radestock <matthias at lshift.net>:
>> When running ProducerMain or ConsumerMain I get the same Java error,
>
> That's strange. The fact that you can connect to the port means rabbit is
> listening. Furthermore, the log messages show that TestMain was able to
> connect, but only once.
>
> Please run the test through the tracer, i.e. start the tracer with
>  sh runjava.sh com.rabbitmq.tools.Tracer
> and then run TestMain with
>  sh runjava.sh com.rabbitmq.examples.TestMain localhost 5673
> and send me the output from the tracer.

The following output came back from the Tracer:

com.rabbitmq.tools.Tracer.WITHHOLD_INBOUND_HEARTBEATS = false
com.rabbitmq.tools.Tracer.WITHHOLD_OUTBOUND_HEARTBEATS = false
com.rabbitmq.tools.Tracer.NO_ASSEMBLE_FRAMES = false
com.rabbitmq.tools.Tracer.NO_DECODE_FRAMES = false
java.io.EOFException
        at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:264)
        at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:111)
        at com.rabbitmq.tools.Tracer$DirectionHandler.readFrame(Tracer.java:167)
        at com.rabbitmq.tools.Tracer$DirectionHandler.doFrame(Tracer.java:198)
        at com.rabbitmq.tools.Tracer$DirectionHandler.run(Tracer.java:231)
        at java.lang.Thread.run(Thread.java:613)
java.io.EOFException
        at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:264)
        at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:111)
        at com.rabbitmq.tools.Tracer$DirectionHandler.readFrame(Tracer.java:167)
        at com.rabbitmq.tools.Tracer$DirectionHandler.doFrame(Tracer.java:198)
        at com.rabbitmq.tools.Tracer$DirectionHandler.run(Tracer.java:231)
        at java.lang.Thread.run(Thread.java:613)

The error message from TestMain is the same as before.

Regards,

Maarten




More information about the rabbitmq-discuss mailing list