Creating ez plugin with 'make BRANCH=rabbitmq_v2_8_7 up_c'. And then 'make'. works.<br><br>Some exceptions have disappered but this sentences of steps causes the following exception (on clean rabbitmq_2.8.7 installation with presence-exchange plugin):<br><br>- load rabbitmq management plugin (web based interface)<br>- create exchange "xpresence" with exchange type "x-presence" - OK<br>- create queue "qpresence" with binding to exchange "xpresence" and empty routing key - OK <br>- create queue "client.test5" with binding to exchange "xpresence" and routing key "test5" - ERROR<br><br><pre>{error,
{exit,
{{undef,
[{rabbit_basic,delivery,
[false,
{basic_message,
{resource,<<"/">>,exchange,<<"xpresence">>},
[<<>>],
{content,60,
{'P_basic',undefined,undefined,
[{<<"action">>,longstr,"bind"},
{<<"exchange">>,longstr,<<"xpresence">>},
{<<"queue">>,longstr,<<"client.test5">>},
{<<"key">>,longstr,<<"test5">>}],
undefined,undefined,undefined,undefined,
undefined,undefined,undefined,undefined,
undefined,undefined,undefined},
none,none,
[<<>>]},
<<11,29,48,224,182,246,62,8,151,38,183,173,140,42,185,
231>>,
false},
undefined],
[]},
{presence_exchange,add_binding,3,[]},
{rabbit_binding,'-add/3-fun-0-',3,[]},
{rabbit_channel,binding_action,9,[]},
{rabbit_channel,handle_cast,2,[]},
{gen_server2,handle_msg,2,[]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]},
{gen_server,call,
[<0.375.0>,
{call,
{'queue.bind',0,<<"client.test5">>,<<"xpresence">>,
<<"test5">>,false,[]},
none,<0.243.0>},
infinity]}},
[{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]},
{rabbit_mgmt_util,'-amqp_request/5-fun-0-',4,[]},
{rabbit_mgmt_util,with_channel,5,[]},
{rabbit_mgmt_wm_bindings,accept_content,2,[]},
{webmachine_resource,resource_call,3,[]},
{webmachine_resource,do,3,[]},
{webmachine_decision_core,resource_call,1,[]},
{webmachine_decision_core,accept_helper,0,[]}]}}</pre><br>Which type of error is it in this case?<br><br>Thank you,<br><br>Oldrich Esner.<br><br>Dne středa, 31. října 2012 14:25:01 UTC-7 Oldrich napsal(a):<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-align:left">I tried following:<br></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">- cloned rabbitmq-public-umbrella</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">- inside rabbitmq-public-umbrella directory I created presence-exchange folder with current GIT presence-exchange plugin</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">- build "make VERSION=2.8.7" inside presence-exchange folder, everything was successful</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">- after copying rabbit-presence-exchange-0.0.</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">0<wbr>.ez into rabbitmq-2.8.7 plugin folder and restarting rabbit server still the same error appears</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">Have any of you tried whether presence-exchange plugin is really compatible with the latest rabbitmq stable version (2.8.7)?</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">Thank you very much for any help.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">Oldrich</span><br><br>Dne úterý, 30. října 2012 18:35:02 UTC-7 Olda Ešner napsal(a):<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Bad news, plugins seems to work in management console (x-presence exchange isn't in "red" state) but after binding x-presence exchange to queue, rabbit server log writes the following:<br><br>=ERROR REPORT==== 31-Oct-2012::02:22:37 ===<br>
** Generic server <0.131.0> terminating<br>** Last message in was {'$gen_cast',<br> {submit_async,#Fun<rabbit_<wbr>binding.3.58413561>}}<br>** When Server state == 2<br>** Reason for termination == <br>
** {function_clause,<br> [{presence_exchange,add_<wbr>binding,<br> [none,<br> {exchange,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br>
'x-presence',true,false,false,<wbr>[],undefined},<br> {binding,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br> <<>>,<br>
{resource,<<"/">>,queue,<<"<wbr>qpresence">>},<br> []}],<br> []},<br> {rabbit_binding,x_callback,4,[<wbr>]},<br> {rabbit_binding,'-recover_<wbr>semi_durable_route/3-fun-0-',<wbr>3,[]},<br>
{worker_pool_worker,handle_<wbr>cast,2,[]},<br> {gen_server2,handle_msg,2,[]},<br> {proc_lib,init_p_do_apply,3,[{<wbr>file,"proc_lib.erl"},{line,<wbr>227}]}]} <br><br>=ERROR REPORT==== 31-Oct-2012::02:19:08 ===<br>
** Generic server <0.1023.0> terminating<br>** Last message in was {'$gen_cast',<br> {method,<br> {'queue.bind',0,<br> <wbr> <<"1ae1453a-5218-467d-9f10-<wbr>b4cd10014d2a">>,<br>
<wbr> <<"xpresence">>,<<>>,false,[]}<wbr>,<br> none,noflow}}<br>** When Server state == {ch,running,rabbit_framing_<wbr>amqp_0_9_1,1,<0.1019.0>,<br>
<0.1021.0>,<0.1019.0>,<br> "<a href="http://127.0.0.1:54877" target="_blank">127.0.0.1:54877</a> -> <a href="http://127.0.0.1:5672" target="_blank">127.0.0.1:5672</a>",<br> {token,<0.1022.0>,false},<br>
none,1,<br> {[],[]},<br> {[],[]},<br> [],[],<br> {user,<<"guest">>,<br>
<wbr> [administrator],<br> <wbr> rabbit_auth_backend_internal,<br> <wbr> {internal_user,<<"guest">>,<br> <wbr> <<238,155,95,210,98,65,149,74,<wbr>208,144,18,<br>
<wbr> 191,58,228,155,137,230,224,<wbr>252,199>>,<br> <wbr> [administrator]}},<br> <<"/">>,<br> <<"1ae1453a-5218-467d-9f10-<wbr>b4cd10014d2a">>,<br>
{dict,0,16,16,8,80,48,<br> <wbr> {[],[],[],[],[],[],[],[],[],[]<wbr>,[],[],[],[],[],<br> <wbr> []},<br> <wbr> {{[],[],[],[],[],[],[],[],[],[<wbr>],[],[],[],[],<br>
<wbr> [],[]}}},<br> {dict,0,16,16,8,80,48,<br> <wbr> {[],[],[],[],[],[],[],[],[],[]<wbr>,[],[],[],[],[],<br> <wbr> []},<br>
<wbr> {{[],[],[],[],[],[],[],[],[],[<wbr>],[],[],[],[],<br> <wbr> [],[]}}},<br> {set,0,16,16,8,80,48,<br> <wbr> {[],[],[],[],[],[],[],[],[],[]<wbr>,[],[],[],[],[],<br>
<wbr> []},<br> <wbr> {{[],[],[],[],[],[],[],[],[],[<wbr>],[],[],[],[],<br> <wbr> [],[]}}},<br> {dict,0,16,16,8,80,48,<br>
<wbr> {[],[],[],[],[],[],[],[],[],[]<wbr>,[],[],[],[],[],<br> <wbr> []},<br> <wbr> {{[],[],[],[],[],[],[],[],[],[<wbr>],[],[],[],[],<br> <wbr> [],[]}}},<br>
{set,0,16,16,8,80,48,<br> <wbr> {[],[],[],[],[],[],[],[],[],[]<wbr>,[],[],[],[],[],<br> <wbr> []},<br> <wbr> {{[],[],[],[],[],[],[],[],[],[<wbr>],[],[],[],[],<br>
<wbr> [],[]}}},<br> <0.1017.0>,<br> {state,fine,5000,#Ref<0.0.0.<wbr>8440>},<br> false,1,<br> {{0,nil},{0,nil}},<br>
[],<br> [{<<"exchange_exchange_<wbr>bindings">>,bool,true},<br> {<<"consumer_cancel_notify">>,<wbr>bool,true},<br>
{<<"basic.nack">>,bool,true},<br> {<<"publisher_confirms">>,<wbr>bool,true}],<br> none}<br>** Reason for termination == <br>
** {function_clause,<br> [{presence_exchange,add_<wbr>binding,<br> [none,<br> {exchange,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br>
'x-presence',true,false,false,<wbr>[],undefined},<br> {binding,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br> <<>>,<br>
{resource,<<"/">>,queue,<br> <<"1ae1453a-5218-467d-9f10-<wbr>b4cd10014d2a">>},<br> []}],<br> []},<br> {rabbit_binding,'-add/3-fun-0-<wbr>',3,[]},<br>
{rabbit_channel,binding_<wbr>action,9,[]},<br> {rabbit_channel,handle_cast,2,<wbr>[]},<br> {gen_server2,handle_msg,2,[]},<br> {proc_lib,init_p_do_apply,3,[{<wbr>file,"proc_lib.erl"},{line,<wbr>227}]}]}<br>
<br>=ERROR REPORT==== 31-Oct-2012::02:19:08 ===<br>AMQP connection <0.1019.0>, channel 1 - error:<br>{function_clause,<br> [{presence_exchange,add_<wbr>binding,<br> [none,<br> {exchange,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br>
'x-presence',true,false,false,<wbr>[],undefined},<br> {binding,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br> <<>>,<br>
{resource,<<"/">>,queue,<br> <<"1ae1453a-5218-467d-9f10-<wbr>b4cd10014d2a">>},<br> []}],<br> []},<br> {rabbit_binding,'-add/3-fun-0-<wbr>',3,[]},<br>
{rabbit_channel,binding_<wbr>action,9,[]},<br> {rabbit_channel,handle_cast,2,<wbr>[]},<br> {gen_server2,handle_msg,2,[]},<br> {proc_lib,init_p_do_apply,3,[{<wbr>file,"proc_lib.erl"},{line,<wbr>227}]}]}<br><br>=WARNING REPORT==== 31-Oct-2012::02:19:08 ===<br>
Non-AMQP exit reason '{function_clause,<br> [{presence_exchange,add_<wbr>binding,<br> [none,<br> {exchange,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br>
'x-presence',true,false,false,<wbr>[],undefined},<br> {binding,<br> {resource,<<"/">>,exchange,<<"<wbr>xpresence">>},<br>
<<>>,<br> {resource,<<"/">>,queue,<br> <<"1ae1453a-5218-467d-9f10-<wbr>b4cd10014d2a">>},<br>
[]}],<br> []},<br> {rabbit_binding,'-add/3-fun-0-<wbr>',3,[]},<br> {rabbit_channel,binding_<wbr>action,9,[]},<br> {rabbit_channel,handle_cast,2,<wbr>[]},<br>
{gen_server2,handle_msg,2,[]},<br> {proc_lib,init_p_do_apply,3,<br> [{file,"proc_lib.erl"},{line,<wbr>227}]}]}' <br><br>Is any of you able to find a source of problem? We are using Java EE application with spring-rabbit and spring-amqp libraries.<br>
<br>Thank you.<br><br>Oldrich<br><br><div class="gmail_quote">2012/10/30 Oldřich Ešner <span dir="ltr"><<a href="mailto:olda.esner@gmail.com" target="_blank">olda.esner@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you very much for the fastest fix I have ever seen :)<br><br>If you want to update downloads section, I'm including current ez build of presence plugin.<br><br>Regards,<br><br>Oldrich<div><div>
<br><br><div class="gmail_quote">
2012/10/30 Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 30/10/12 14:18, Tony Garnock-Jones wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
On 30 October 2012 00:27, Olda Ešner <<a href="mailto:olda.esner@gmail.com" target="_blank">olda.esner@gmail.com</a><br></div><div>
<mailto:<a href="mailto:olda.esner@gmail.com" target="_blank">olda.esner@gmail.com</a>>> wrote:<br>
<br>
after upgrading to RabbitMQ 2.8.6 from 2.8.5, presence-exchange<br>
plugin doesn't work. Is there any chance to fix it?<br>
<br>
<br>
It's a consequence of the removal from the server's core of support for<br>
"immediate" publication. At least rabbithub and the udp-exchange will<br>
also have to be updated. The fix should be straightforward.<br>
</div></blockquote>
<br>
...although that's happened on default, not 2.8.6.<br>
<br>
To the OP: you might need to get the un-updated version of the plugin source, and then build that against the 2.8.6 source download.<br>
<br>
Alternatively, whatever plugin binary you created for 2.8.5 should still work, I don't think any APIs changed?<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'll email again when I'm done. Shouldn't be long.<br>
</blockquote>
<br></div>
*clicks stopwatch* Six minutes, not bad :-)<br>
<br>
Cheers, Simon<span><font color="#888888"><br>
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</font></span></blockquote></div><br>
</div></div></blockquote></div><br>
</blockquote></blockquote>