[rabbitmq-discuss] JSON-RPC API

Marcus Vinitius Baffa mbaffa at opus.com.br
Fri Apr 15 18:19:28 BST 2011


Hi,

 

I have just downloaded RabbitMQ 2.4.1 running in a Windows XP/SP3 and
installed the plugins for JSON-RPC.   I have installed the following
plugins:

 

-          amqp_client-2.4.1.ez

-          mochiweb-2.4.1.ez

-          rabbitmq-jsonrpc-2.4.1.ez

-          rabbitmq-jsonrpc-channel-2.4.1.ez

-          rabbitmq-management-2.4.1.ez

-          rabbitmq-management-agent-2.4.1.ez

-          rabbitmq-mochiweb-2.4.1.ez

-          rfc4627_jsonrpc-2.4.1.ez

-          webmachine-2.4.1.ez

 

When the server is runs it gives me the following warnings:

 

-          undefined function fdsrv: bind_socket/2

-          undefined function fdsrv: start/0

-          undefined functions fdsrv: stop/0

-          undefined functions webmachine_resource: start_link/2

 

Then the server tells that the nine plugins were activated

 

Besides that the samples of json-rpc are not running correctly (I am
running the samples in a IE8) . For instance when the Simple Test calls:

 

var channelFactory = new JsonRpc.Service("/rpc/rabbitmq",
handle_service_ready,

                                   {debug: true,

                                    debugLogger: log,

                                    timeout: 30000});

 

 

The handle_service_ready is never called. I receive the following error:

 

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR
2.0.50727)

Timestamp: Fri, 15 Apr 2011 17:14:41 UTC

 

 

Message: Exception thrown and not caught

Line: 156

Char: 13

Code: 0

URI:
file:///C:/Download/Microsoft/RabbitMQ/JSON-RPC/rabbitmq-jsonrpc-channel
/priv/www-examples/rabbitmq_lib/json.js

 

 

What is wrong ???

Where can I find the JSON-RPC API documentation ???

Can you help me  ???  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110415/9f3da840/attachment-0001.htm>


More information about the rabbitmq-discuss mailing list