Hey, paul, I installed all the dependencies to rabbitmq-jsonrpc-channel (see below).<div><br></div><div>I see that you add a little context in test mode. �Basically, I was hoping to use the plugin to host my HTML and javascript in dev mode so I don&#39;t have to run another webserver on my laptop. �I prefer to run rabbitmq in &quot;production&quot; mode on my laptop, and I was curious what mochiweb thinks the docroot is in this mode.<br>
<div><br></div><div><div>[{running_applications,</div><div>�� � [{rabbit_jsonrpc_channel,&quot;RabbitMQ JSON-RPC Channels&quot;,&quot;0.01&quot;},</div><div>�� � �{rabbit,&quot;RabbitMQ&quot;,&quot;1.7.2&quot;},</div><div>
�� � �{os_mon,&quot;CPO �CXC 138 46&quot;,&quot;2.2.5&quot;},</div><div>�� � �{sasl,&quot;SASL �CXC 138 11&quot;,&quot;2.1.9&quot;},</div><div>�� � �{rabbit_jsonrpc,&quot;Rabbit JSON-RPC&quot;,&quot;0.01&quot;},</div><div>
�� � �{rfc4627_jsonrpc,&quot;JSON RPC Service&quot;,&quot;0.01&quot;},</div><div>�� � �{rabbit_mochiweb,&quot;RabbitMQ Mochiweb Embedding&quot;,&quot;0.01&quot;},</div><div>�� � �{mochiweb,&quot;MochiMedia Web Server&quot;,&quot;0.01&quot;},</div>
<div>�� � �{mnesia,&quot;MNESIA �CXC 138 12&quot;,&quot;4.4.13&quot;},</div><div>�� � �{stdlib,&quot;ERTS �CXC 138 10&quot;,&quot;1.16.5&quot;},</div><div>�� � �{kernel,&quot;ERTS �CXC 138 10&quot;,&quot;2.13.5&quot;}]},</div>
<div>�{nodes,[rabbit@H5Pro]},</div><div>�{running_nodes,[rabbit@H5Pro]}]</div><div>...done.</div><div><br></div><br><div class="gmail_quote">On Sat, Apr 17, 2010 at 4:11 PM, Paul Jones <span dir="ltr">&lt;<a href="mailto:pauljones23@gmail.com">pauljones23@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Benjamin,<br><br>Which plugins have you installed into RabbitMQ? The mochiweb plugin alone simply embeds a webserver - you&#39;ll need to install rabbitmq-jsonrpc and rabbitmq-jsonrpc-channel to get the JSON services.<br>

<br>If you have done this, then you might be hitting the fact that when running under test, an additional context is installed under the root that provides all the various test examples. We don&#39;t activate this in the &quot;production&quot; mode, since we don&#39;t expect you&#39;ll want them in a real deployment. The scripts for doing JSON-RPC are still there though - under /rabbitmq_lib (the scripts that are made available via this can be found on the filesystem in priv/www).<br>

<br>I hope this answers your question.<br><br>Cheers,<br>Paul<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sat, Apr 17, 2010 at 8:28 PM, Benjamin Polidore <span dir="ltr">&lt;<a href="mailto:polidore@gmail.com" target="_blank">polidore@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5"><span style="font-family:Consolas,&#39;Lucida Console&#39;,monospace,Verdana,sans-serif,&#39;sans serif&#39;;font-size:13px">hi, i&#39;m trying to use the json-channel plugin, and it runs ok when i do make test, but it doesn&#39;t seem to work when i try to start up my broker.<span>��</span>the port is open, but everything returns 404. �what is mochiweb using as a docroot when I run it outside make test? �sorry if this is obvious, but i&#39;ve been struggling with it for a couple hours.�</span><div>


<span style="font-family:Consolas,&#39;Lucida Console&#39;,monospace,Verdana,sans-serif,&#39;sans serif&#39;;font-size:13px"><br></span></div><div><span style="font-family:Consolas,&#39;Lucida Console&#39;,monospace,Verdana,sans-serif,&#39;sans serif&#39;;font-size:13px">thanks,</span></div>


<div><span style="font-family:Consolas,&#39;Lucida Console&#39;,monospace,Verdana,sans-serif,&#39;sans serif&#39;;font-size:13px">bp</span></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></div>