[rabbitmq-discuss] RabbitMQ ConnectionFactory newConnection issue
susantha senevirathna
rsusasene at gmail.com
Wed Jun 2 14:56:09 BST 2010
Hi All,
I have configured RabbitMQ in my windows machine.It is working
properly.However I try to run rabbitmq "ConsumerMain" sample.It has given
following error.So i tried to resolve that matter but i couldnt achive
yet.If you can help me sort out this issue ,I will be glad.Please help me.I
have mentioned that exception below.
Main thread caught exception: java.io.IOException
java.io.IOException
at com.rabbitmq.client.impl.
AMQChannel.wrap(AMQChannel.java:121)
at
com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:139)
at
com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:260)
at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:200)
at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:249)
at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:263)
at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:274)
at com.rabbitmq.examples.ConsumerMain.main(ConsumerMain.java:76)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error;
reason: java.io.EOFException
at
com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:81)
at
com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:47)
at
com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:336)
at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:209)
at
com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:133)
... 6 more
Caused by: java.io.EOFException
at
java.io.DataInputStream.readUnsignedByte(DataInputStream.java:273)
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:118)
at
com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:133)
at
com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:367)
at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:408)
Java Result: 1
regards,
Susantha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100602/8a6f3e44/attachment.htm
More information about the rabbitmq-discuss
mailing list