That was helpful - I got farther - but not there yet.<br><br>I did the checkout of the umbrella with the command above:<br><br><div style="margin-left: 40px; font-family: courier new,monospace;">hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella" target="_blank">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a> -r bug23568<br>

</div>
<br>but I did the &#39;make co&#39; without any special parameters, so I assumed<br>that it did hg commands with respect to the bug23568 branch.<br><br>I built the metronome project as outlined on the Rabbit site and added<br>

the rabbit_metronome-0.0.0.ez and amqp_client.ez files to the<br>rabbitmq-public-umbrella/rabbitmq-server/plugins directory, but when I<br>
start it up I get:<br><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">linus:make run</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">RABBITMQ_NODE_IP_ADDRESS=&quot;&quot; RABBITMQ_NODE_PORT=&quot;5679&quot; RABBITMQ_LOG_BASE=&quot;/tmp&quot; RABBITMQ_MNESIA_DIR=&quot;/tmp/rabbitmq-bunny-mnesia&quot; RABBITMQ_PLUGINS_EXPAND_DIR=&quot;/tmp/rabbitmq-bunny-plugins-scratch&quot; \</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">                RABBITMQ_ALLOW_INPUT=true \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                RABBITMQ_SERVER_START_ARGS=&quot;&quot; \</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">                ./scripts/rabbitmq-server</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Activating RabbitMQ plugins ...</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">*WARNING* Undefined function amqp_connection:start_direct/0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*WARNING* Undefined function gb_trees:map/2</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">*WARNING* Undefined function os:timestamp/0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">*WARNING* Undefined function random:seed/1</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">*WARNING* Undefined function ssl:ssl_accept/3</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">2 plugins activated:</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">* amqp_client-0.0.0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">* rabbit_metronome-0.0.0</span><br style="font-family: courier new,monospace;">


<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Erlang (BEAM) emulator version 5.6.5 [source] [64-bit] [smp:2] [async-threads:30] [hipe] [kernel-poll:true]</span><br style="font-family: courier new,monospace;">


<br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+---+   +---+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">|   |   |   |</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">|   |   |   |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">|   |   |   |</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">|   +---+   +-------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">|                   |</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">| RabbitMQ  +---+   |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">|           |   |   |</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">| v%%VSN%%  +---+   |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">|                   |</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">+-------------------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">AMQP 0-9-1 / 0-9 / 0-8</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">Copyright (C) 2007-2011 VMware, Inc.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Licensed under the MPL.  See <a href="http://www.rabbitmq.com/" target="_blank">http://www.rabbitmq.com/</a></span><br style="font-family: courier new,monospace;">


<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">node           : bunny@linus</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">app descriptor : /devel/home/irrer/tmp/erl/r2/rabbitmq-public-umbrella/rabbitmq-server/scripts/../ebin/rabbit.app</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">home dir       : /home/irrer</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">config file(s) : (none)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">cookie hash    : JG6HnrDO2nMIVTU2s7iwoA==</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">log            : /tmp/bunny.log</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">sasl log       : /tmp/bunny-sasl.log</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">database dir   : /tmp/rabbitmq-bunny-mnesia</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">erlang version : 5.6.5</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting file handle cache server                                     ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting worker pool                                                  ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting database                                                     ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting codec correctness check                                      ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-- external infrastructure ready</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting statistics event manager                                     ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting logging server                                               ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting plugin registry                                              ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting auth mechanism amqplain                                      ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting auth mechanism cr-demo                                       ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting auth mechanism plain                                         ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting exchange type direct                                         ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting exchange type fanout                                         ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting exchange type headers                                        ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting exchange type topic                                          ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- kernel ready</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting node monitor                                                 ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting cluster delegate                                             ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting guid generator                                               ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting alarm handler                                                ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting memory monitor                                               ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- core initialized</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting empty DB check                                               ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting exchange recovery                                            ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting queue supervisor and queue recovery                          ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">-- message delivery logic ready</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting error log relay                                              ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting networking                                                   ...done</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">starting notify cluster nodes                                         ...done</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">starting direct_client                                                ...done</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">broker running</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Eshell V5.6.5  (abort with ^G)</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">(bunny@linus)1&gt; Erlang has closed</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                                 {&quot;Kernel pid terminated&quot;,application_controller,&quot;{application_start_failure,rabbit_metronome,{shutdown,{rabbit_metronome,start,[normal,[]]}}}&quot;}</span><br style="font-family: courier new,monospace;">


<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Crash dump was written to: erl_crash.dump</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Kernel pid terminated (application_controller) ({application_start_failure,rabbit_metronome,{shutdown,{rabbit_metronome,start,[normal,[]]}}})</span><br>

</div><br>And as advertised it creates a big honkin&#39; dump file.<br><br>I also had to create symbolic links so that the code would build.  In my<br>rabbitmq-public-umbrella/rabbit_metronome directory I created:<br>
<br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">amqp_client -&gt; ../rabbitmq-erlang-client/dist/amqp_client</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">rabbit_common -&gt; ../rabbitmq-erlang-client/dist/rabbit_common</span><br>


</div><br>The server works fine if run without adding plugins, but when I add them<br>
it bombs, so I know the plugins are the problem (Right?).<br><br clear="all">I&#39;m new to Erlang (interesting language), so all I did was cut and paste<br>the example Erlang code, so if that code is out of date then it would be a problem.<br>

<br>Also: I changed the port to 5679 so it would not interfere with the official<br>
installed RabbitMQ server on the same machine, and I set RABBITMQ_NODENAME<br>to &#39;bunny&#39;.<br><br>Thanks,<br><br>- Jim<br><br>Jim Irrer     <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>       <a href="tel:%28734%29%20647-4409" target="_blank">(734) 647-4409</a><br>


University of Michigan Hospital Radiation Oncology<br>519 W. William St.             Ann Arbor, MI 48103<br>
<br><br><div class="gmail_quote">On Thu, Mar 17, 2011 at 8:27 AM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@rabbitmq.com" target="_blank">matthew@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div>On Tue, Mar 15, 2011 at 07:00:28PM -0400, Jim Irrer wrote:<br>
&gt; If I checkout the latest server code, will I get the bug23274 fix?<br>
<br>
</div>Nope. bug23274 has been abandoned. bug23568 replaces it, but is yet to<br>
go through QA. None of the documentation regarding writing plugins has<br>
been updated.<br>
<div><br>
&gt; If not, what is the Mercurial command to get it?<br>
<br>
</div>hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella" target="_blank">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a> -r bug23568<br>
<br>
But you&#39;ll need to make sure all the plugins are also on branch bug23568<br>
for them to work with the new build system.<br>
<br>
If you&#39;re writing plugins from scratch, be sure to read the<br>
rabbitmq-public-umbrella/README.makefiles file, which has a helpful<br>
section on &quot;Creating a new package&quot;.<br>
<font color="#888888"><br>
Matthew<br>
</font><div><div></div><div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>