<span id="result_box" class="" lang="en"><span class="hps">I tried to do</span> <span class="hps">what suggested</span><span class="">.</span><br> <span class="hps">Stopping</span> <span class="hps">the service <br>"/</span><span class="hps">sbin/service</span> <span class="hps">qpidd</span> <span class="hps">stop</span>"<br>
<span class="hps">and</span> <span class="hps">restarting</span> <span class="hps">RabbitMQ</span> <span class="hps">my application</span> <span class="hps">gets</span> <span class="hps atn">the error "</span><span class="">Connection refused</span><span class="">" as shown</span> <span class="hps">in the attached file </span></span><span id="result_box" class="" lang="en"><span class="hps">"TomcatErrorLogWithQpiddOFF.txt</span></span>"<br>
<span id="result_box" class="" lang="en"><span class="hps">The server</span> not<span class="hps"> working </span><span class="hps">as shown</span> <span class="hps">in the image file "Server DOWN.jpg</span><span class="hps">"<br>
</span></span><span id="result_box" class="" lang="en"><span class="hps"></span><br> b<span class="hps">ut starting the service qpidd <br></span><span class="hps">"/</span><span class="hps">sbin/service</span> <span class="hps">qpidd</span> <span class="hps">start</span>"<br>
<span class="hps">the error returned is</span> <span class="hps">the one shown</span> <span class="hps">in the attached file </span><span class="hps">"TomcatErrorLogWithQpiddON.txt</span>"<br> <span class="hps">The server</span> <span class="hps">is working properly</span> </span><span id="result_box" class="" lang="en"><span class="hps">and</span> <span class="hps">it</span> <span class="hps">is</span> <span class="hps">listening on port 5672</span></span><span id="result_box" class="" lang="en"> <span class="hps">as shown</span> <span class="hps">in the </span><span class="hps">attached</span> file "Server UP.jpg"</span><br>
<br><span id="result_box" class="" lang="en"><span class="hps">I thought</span> <span class="hps">that the problem could</span> <span class="hps">be</span> <span class="hps">related to the</span> <span class="hps">version of the</span> <span class="hps">client</span> <span class="hps">and</span> <span class="hps">the server, but</span> <span class="hps">is</span> <span class="hps">in</span> <span class="hps">contradiction</span> <span class="hps">with the behavior</span> <span class="hps alt-edited">on</span> <span class="hps">ubuntu</span> <span class="hps">where</span> <span class="hps alt-edited">it seems to work</span> <span class="hps">properly<br>
Thanks in advanced<br></span></span><br><br><div class="gmail_quote">On Wed, Aug 29, 2012 at 3:56 PM, Gordon Sim <span dir="ltr"><<a href="mailto:gsim@redhat.com" target="_blank">gsim@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/29/2012 02:11 PM, Paolo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your prompt response.<br>
Maybe i explained wrong,<br>
</blockquote>
<br></div>
I suspect it was my answer that was not clear enough...<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
the RabbitMQ server works fine: I can also use<br>
the plugin rabbitmq_management and view all active queues.<br>
My problem is different, my application uses a library AMQP-client.jar<br>
to communicate with the server rabbit (AMQP-client-2.7.1.jar or<br>
AMQP-client-2.8.6.jar depending on the version of server).<br>
Using this library trying to connect to the serverrabbit, iget the error<br></div>
"*com.rabbitmq.client.<u></u>MalformedFrameException: AMQP protocol version<br>
mismatch* *, we are version 0-9-1, server sent signature 1,1,0,10**. *"<div class="im"><br>
It seems that the client is incompatible with the server<br>
</div></blockquote>
<br>
Right, and I suspect (I could of course be wrong!) that it is not actually RabbitMQ your client is connecting to but a Qpid server (qpidd, which supports version 0-10 as identified by the rejected protocol header above).<br>
<br>
Perhaps RabbitMQ was unable to listen on 5672 because it was already in use by Qpid (because the qpidd service is enabled by default on Centos). I'm not familiar enough with the management plugin to say for sure, but I suspect that is communicating with the RabbitMQ server over HTTP or some port other than 5672. You may see some errors in the RabbitMQ logs however.<br>
<br>
Try running /sbin/service qpidd status, if that shows something running, try /sbin/service qpidd stop and then restart RabbitMQ and try your client application again.<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>