<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 19, 2009 at 9:52 AM, Paul Jones <span dir="ltr"><<a href="mailto:pauljones23@gmail.com">pauljones23@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ben,<br><br>We'll have a look at these issues and get them corrected as quickly as possible.<br><br>As for installing mochiweb, the mochiweb.ez file does need to be installed into your plugin directory - the rabbitmq-mochiweb is mainly focussed on providing a support layer around it.<br>
</blockquote><div><br>If mochiweb.ez should be installed in the plugin directory it will help if you can document it or even better create two plugins, rabbitmq-mochiweb for the wrapper and mochiweb for mochiweb itself. <br>
When I run make in the rabbitmq-mochiweb folder I saw that mochiweb is being downloaded and compiled automatically so I thought the plugin is taking care of everything for me.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can you explain more about the process that you're following to get the error you report? The plugin activation process itself shouldn't cause applications to be started - I'm assuming you're seeing this error when booting rabbit after installing the plugins?</blockquote>
<div><br>Yes, I'm getting the error when running rabbit after compiling, linking and activating the plugins. </div><div><br>I've created the umbrella project<br>compiled the rabbitmq-mochiweb, erlang-rfc4627 and rabbitmq-jsonrpc plugins<br>
linked the three plugins to the rabbitmq-server/plugins directory<br>run the scripts/rabbitmq-activate-plugins script<br>rabbitmq-server/make run<br><br>Ben<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div><div></div><div class="h5">On Mon, Oct 19, 2009 at 2:03 AM, Ben Browitt <span dir="ltr"><<a href="mailto:ben.browitt@gmail.com" target="_blank">ben.browitt@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div dir="ltr">Hi,<br><br>I'm trying to use the rabbitmq-mochiweb plugin as explained in <a href="http://www.rabbitmq.com/plugin-development.html#getting-started" target="_blank">http://www.rabbitmq.com/plugin-development.html#getting-started</a><br>
I have several issues with it.<br><br>rabbitmq_mochiweb.app is missing rabbit_mochiweb_registry in the list of modules<br><br>When activating the rabbitmq-mochiweb plugin, mochiweb is not included in the erlang path.<br>
I needed to add the mochiweb folder to the rabbitmq-server/plugins directory in addition to rabbitmq-mochiweb.<br>Isn't the plugin suppose to take care of that?<br><br>When trying to activate the rabbitmq-jsonrpc I'm getting:<br>
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit_jsonrpc,{bad_return,{{rabbit_jsonrpc,start,[normal,[]]},{'EXIT',{noproc,{gen_server,call,[rabbit_mochiweb_registry,{add,#Fun<rabbit_mochiweb.0.118905840>,#Fun<rabbit_jsonrpc.0.21203153>}]}}}}}}"}<br>
<br>Crash dump was written to: erl_crash.dump<br>Kernel pid terminated (application_controller) ({application_start_failure,rabbit_jsonrpc,{bad_return,{{rabbit_jsonrpc,start,[normal,[]]},{'EXIT',{noproc,{gen_server,call,[rabbit_mochiweb_registry,{<br>
make: *** [run] Error 1<br><br>The README of the rabbitmq-mochiweb is outdated.<br>
<br>Thanks<br><br></div>
<br></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="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div>