[rabbitmq-discuss] IOException

Rahul Sharma rahul at xaptum.com
Fri Jun 28 02:00:29 BST 2013


Hi ,

I am new bee to RabbitMQ,

I was trying to read the messages posted on rabbit MQ but i am getting the
following error

=====================

CM :com.xaptum.message.api.ConnectionManager at 602f892f
Inside getConnectionFactory
outside getConnectionFactory

ConnectionFactory :com.rabbitmq.client.ConnectionFactory at 5fd1358f
Connection Error: java.io.IOException
java.io.IOException
    at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
    at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
    at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:360)
    at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:516)
    at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)
    at
com.xaptum.message.api.ConnectionManager.getConnection(ConnectionManager.java:129)
    at
com.xaptum.message.api.ConnectionManager.createConnection(ConnectionManager.java:64)
    at com.xaptum.message.api.MainTest.main(MainTest.java:9)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error;
reason: java.net.SocketTimeoutException: Timeout during Connection
negotiation
    at
com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
    at
com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
    at
com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
    at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:313)
    ... 5 more
Caused by: java.net.SocketTimeoutException: Timeout during Connection
negotiation
    at
com.rabbitmq.client.impl.AMQConnection.handleSocketTimeout(AMQConnection.java:566)
    at
com.rabbitmq.client.impl.AMQConnection.access$500(AMQConnection.java:59)
    at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:541)
Secondcom.rabbitmq.client.ConnectionFactory at 5fd1358f
Check :false
java.lang.NullPointerException
Error in closeChannelnull
    at
com.xaptum.message.api.ConnectionManager.readMessage(ConnectionManager.java:83)
    at com.xaptum.message.api.MainTest.main(MainTest.java:13)
=============


Can some one please guide me.

Regards,
Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130627/8288bf6d/attachment.htm>


More information about the rabbitmq-discuss mailing list