I am using rabbitmq's java client. While doing channel.basicConsule it throws the below exception. This is a 64bit machine. But when I use the same code in 32 bit machine it is working. <br><br>java.io.IOException<br> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:121)<br>
at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:703)<br> at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:661)<br> at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:647)<br>
at com.adventnet.repl.replicator.ExchangeQueueListener.startListener(ExchangeQueueListener.java:73)<br> at com.adventnet.repl.replicator.ExchangeQueueListener.run(ExchangeQueueListener.java:33)<br> at java.lang.Thread.run(Thread.java:595)<br>
Caused by: com.rabbitmq.client.ShutdownSignalException (connection error; reason: {#method<connection.close>(reply-code=541,reply-text=INTERNAL_ERROR,class-id=0,method-id=0),null,""})<br> at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:606)<br>
at com.rabbitmq.client.impl.AMQConnection.handleConnectionClose(AMQConnection.java:561)<br> at com.rabbitmq.client.impl.AMQConnection.processControlCommand(AMQConnection.java:541)<br> at com.rabbitmq.client.impl.AMQConnection$1.processAsync(AMQConnection.java:84)<br>
at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:159)<br> at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:110)<br> at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:446)<br>
<br><br>In the rabbit log we get the following error : <b><br></b><br>=ERROR REPORT==== 26-Aug-2009::17:12:34 ===<br>connection <0.224.0> (running), channel 1 - error:<br>{undef,[{ssl_base64,encode,<br> [<<127,81,49,251,211,111,84,61,174,121,190,249,69,78,177,<br>
123>>]},<br> {rabbit_misc,string_guid,1},<br> {rabbit_misc,binstring_guid,1},<br> {rabbit_channel,handle_method,3},<br> {rabbit_channel,handle_message,2},<br> {buffering_proxy,'-mainloop/4-fun-0-',3},<br>
{lists,foldl,3},<br> {buffering_proxy,mainloop,4}]}<br><br>=WARNING REPORT==== 26-Aug-2009::17:12:34 ===<br>Non-AMQP exit reason '{undef,<br> [{ssl_base64,encode,<br> [<<127,81,49,251,211,111,84,61,174,121,190,<br>
249,69,78,177,123>>]},<br> {rabbit_misc,string_guid,1},<br> {rabbit_misc,binstring_guid,1},<br> {rabbit_channel,handle_method,3},<br>
{rabbit_channel,handle_message,2},<br> {buffering_proxy,'-mainloop/4-fun-0-',3},<br> {lists,foldl,3},<br> {buffering_proxy,mainloop,4}]}'<br>
<br>=INFO REPORT==== 26-Aug-2009::17:12:34 ===<br>closing TCP connection <0.224.0> from <a href="http://127.0.0.1:46753">127.0.0.1:46753</a><br><br><br><br>Can someone help me with this problem.<br><br>thanks & regards,<br>
rathi<br>