[rabbitmq-discuss] Silverlight application with RabbitMQ

Michael Bridgen mikeb at lshift.net
Wed Apr 28 13:37:09 BST 2010


Jens,

I have to admit at this point that I'm not an expert -- or even a gifted 
amateur -- at running RabbitMQ on Windows.  I'll try to help out.

>> There is a fairly stable, just not-yet-official branch of RabbitMQ 
>> that supports AMQP 0-9-1.  See https://dev.rabbitmq.com/wiki/Amqp091
>>
> I downloaded this version but I can't get it to work on my PC. When I 
> run "rabbitmq-server.bat" I get the following:
> c:\Temp\rabbitmq_server-0.0.0\sbin>rabbitmq-server
> 
> starting exchange recovery ...BOOT ER
> ROR: FAILED
> Reason: {function_clause,
>            [{rabbit_exchange,recover_with_bindings,
>                 [[],
>                  [{exchange,
>                       {resource,<<"/">>,exchange,<<>>},
>                       direct,true,false,[]},
>                   {exchange,
>                       {resource,<<"/">>,exchange,<<"amq.direct">>},
>                       direct,true,false,[]},
>                   {exchange,
>                       {resource,<<"/">>,exchange,<<"amq.fanout">>},
>                       fanout,true,false,[]},
>                   {exchange,
>                       {resource,<<"/">>,exchange,<<"amq.headers">>},
>                       headers,true,false,[]},
>                   {exchange,
>                       {resource,<<"/">>,exchange,<<"amq.match">>},
>                       headers,true,false,[]},
>                   {exchange,
>                       {resource,<<"/">>,exchange,<<"amq.rabbitmq.log">>},
>                       topic,true,false,[]},
>                   {exchange,
>                       {resource,<<"/">>,exchange,<<"amq.topic">>},
>                       topic,true,false,[]}],
>                  []]},
>             {rabbit_exchange,recover,0},
>             {rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
>             {rabbit,run_boot_step,1},
>             {rabbit,'-start/2-lc$^0/1-0-',1},
>             {rabbit,start,2},
>             {application_master,start_it_old,4}]}
> {"init terminating in 
> do_boot",{{nocatch,{error,{cannot_start_application,rabbit
> ,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}} 
> 
> }}},[{init,start_it,1},{init,start_em,1}]}}
> 
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
> 
> c:\Temp\rabbitmq_server-0.0.0\sbin>
> 
> So there is an error when starting the exchange recovery module. Maybe a 
> little bug?

Yes, but likely my packaging or some other circumstance rather than 
RabbitMQ.  Exchange recovery really ought not to be a problem.

Did you start from a fresh database?  i.e., was 
c:/Users/Compufreak/AppData/Roaming/RabbitMQ/db/rabbit-mnesia missing or 
empty before you started RabbitMQ?




More information about the rabbitmq-discuss mailing list