Ben,<br><br><div class="gmail_quote">On Mon, Oct 19, 2009 at 9:32 AM, Ben Browitt <span dir="ltr"><<a href="mailto:ben.browitt@gmail.com">ben.browitt@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;">
<div dir="ltr"><br><div class="gmail_quote"><div>I've repeated all the steps and still getting the error.<br>It happens when jsonrpc tries to use rabbit_mochiweb_registry. Erlang complains that the proc is not registered. <br>
</div><div class="im"><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><br>As an aside, if you're wanting the functionality previously provided by rabbitmq-http2, then you'll also want to link in the rabbitmq-jsonrpc-channel plugin - this plugin provides the actual support for making JSON-RPC calls against the rabbit channel objects.<br>
</div></div></blockquote></div><div><br>I know. I'm trying to create a plugin that uses the mochiweb plugin but got errors so I've tried using the jsonrpc <br>plugin as a reference but got the same errors.<br><br>
</div></div></div></blockquote><div><br>I take it that when you remove the jsonrpc plugin, the broker starts up ok? If it does, can you bring up the Erlang toolbar (toolbar:start()), open the application monitor, and let me know what processes are running under the rabbit_mochiweb application? I'd be interested to know if the registry is perhaps crashing out.<br>
<br>If you just try to register a static docroot from an Erlang terminal in this state (Rabbit running, but with no plugins other than mochiweb/rabbit_mochiweb), does it work?<br><br>Another option when developing plugins is to do a "make run" from the plugin directory. As long as you've declared the dependencies in the Makefile (and are using our standard <a href="http://include.mk">include.mk</a>), then you should find that it will auto-wire the dependencies automatically, and prevent you needing to do symlinks.<br>
<br>Paul.<br></div></div><br>