<div>Hi all,</div><div><br></div><div>I've installed rabbitmq on OS X 10.6 via MacPorts, and built and</div><div>installed the rabbitmq-jsonrpc, rabbitmq-jsonrpc-channel, mochiweb,</div><div>rabbitmq-mochiweb, rfc4627_jsonrpc plugins.</div>
<div><br></div><div>After installing, I went to the example page on localhost:55672, and</div><div>clicked the Simple JSONRPC test. I get the following output:</div><div><br></div><div>test_main</div><div>{"installGenericProxy":{"name":"open","idempotent":false,"params":</div>
<div>[{"name":"username","type":"str"},{"name":"password","type":"str"},</div><div>{"name":"sessionTimeout","type":"num"},</div>
<div>{"name":"virtualHost","type":"str"}]}}</div><div>open</div><div>JsonRPC error:</div><div>Service: "/rpc/rabbitmq"</div><div>Method: "open"</div><div>Params: ["guest","guest",5,null]</div>
<div>Response: {"version":"1.1","id":2,"error":</div><div>{"name":"JSONRPCError","code":500,"message":"Internal</div><div>error","error":"{{{badmatch,{error,{{badmatch,<0.13932.0>},</div>
<div> [{rabbit_jsonrpc_channel,init,1},</div><div> {gen_server,init_it,6},</div><div> {proc_lib,init_p_do_apply,3}]}}},</div><div> [{rabbit_jsonrpc_channel,open,1},</div>
<div> {rabbit_jsonrpc_channel_factory,handle_call,3},</div><div> {gen_server,handle_msg,5},</div><div> {proc_lib,init_p_do_apply,3}]},</div><div> {gen_server,call,</div><div> [<0.8986.0>,</div><div> {jsonrpc,<<\"open\">>,</div>
<div> {obj,[{\"http_method\",<<\"POST\">>},</div><div> {\"http_query_parameters\",{obj,[]}},</div><div> {\"http_headers\",</div>
<div> {obj,[{\"accept\",<<\"*/*\">>},</div><div> {\"accept-charset\",<<\"ISO-8859-1,utf-8;q=0.7,*;q=0.7\">>},</div>
<div> {\"accept-encoding\",<<\"gzip,deflate\">>},</div><div> {\"accept-language\",<<\"en-us,en;q=0.5\">>},</div>
<div> {\"cache-control\",<<\"no-cache\">>},</div><div> {\"connection\",<<\"keep-alive\">>},</div>
<div> {\"content-length\",<<\"74\">>},</div><div> {\"content-type\",<<\"application/json;charset=UTF-8\">>},</div>
<div> {\"host\",<<\"localhost:55672\">>},</div><div> {\"keep-alive\",<<\"115\">>},</div><div>
{\"pragma\",<<\"no-cache\">>},</div><div> {\"referer\",<<\"<a href="http://localhost:55672/rabbitmq_lib/www-examples/test/index.html\">http://localhost:55672/rabbitmq_lib/www-examples/test/index.html\</a>">>},</div>
<div> {\"user-agent\",<<\"Mozilla/5.0 (Macintosh; IntelMac OS X 10.6; rv:2.0b3pre) Gecko/20100729 Minefield/4.0b3pre\">>},</div><div> {\"x-json-rpc-timeout\",<<\"30000\">>},</div>
<div> {\"x-requested-with\",<<\"XMLHttpRequest\">>}]}},</div><div> {\"remote_peername\",<<\"127.0.0.1\">>},</div>
<div> {\"scheme\",<<\"http\">>}]},</div><div> [<<\"guest\">>,<<\"guest\">>,5,null]},</div><div> 30000]}}"}}</div>
<div>-------</div><div><br></div><div>The broker has started without any errors and appears to be</div><div>functioning, and when I tried the rabbitmq-status plugin, that worked</div><div>fine.</div><div><br></div><div>My rabbitmqctl status is:</div>
<div>Status of node rabbit@Bilbo ...</div><div>[{running_applications,</div><div> [{rabbit_jsonrpc_channel,"RabbitMQ JSON-RPC Channels","0.01"},</div><div> {rabbit,"RabbitMQ","1.8.1"},</div>
<div> {os_mon,"CPO CXC 138 46","2.2.5"},</div><div> {sasl,"SASL CXC 138 11","2.1.9.2"},</div><div> {rfc4627_jsonrpc,"JSON RPC Service","0.01"},</div>
<div> {rabbit_jsonrpc,"Rabbit JSON-RPC","0.01"},</div><div> {rabbit_mochiweb,"RabbitMQ Mochiweb Embedding","0.01"},</div><div> {mochiweb,"MochiMedia Web Server","1.3"},</div>
<div> {crypto,"CRYPTO version 2","2.0"},</div><div> {inets,"INETS CXC 138 49","5.4"},</div><div> {mnesia,"MNESIA CXC 138 12","4.4.14"},</div><div> {stdlib,"ERTS CXC 138 10","1.17"},</div>
<div> {kernel,"ERTS CXC 138 10","2.14"}]},</div><div> {nodes,[{disc,[rabbit@Bilbo]}]},</div><div> {running_nodes,[rabbit@Bilbo]}]</div><div>...done.</div><div><br></div><div>Thanks,</div><div>Cameron</div>