<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Joe,</div><div><br class="webkit-block-placeholder"></div><div>The version of the client used in the blog can be accessed as a tarball via this URL: <a href="http://dev.rabbitmq.com/viewmtn/revision/tar/7e281d11727fd3392033eb16facb2a391506d3b1">http://dev.rabbitmq.com/viewmtn/revision/tar/7e281d11727fd3392033eb16facb2a391506d3b1</a> </div><div><br class="webkit-block-placeholder"></div><div>In general, you can browse the Erlang client branch with this URL: <a href="http://dev.rabbitmq.com/viewmtn/branch/changes/com.rabbitmq.erlang-client">http://dev.rabbitmq.com/viewmtn/branch/changes/com.rabbitmq.erlang-client</a></div><div><br class="webkit-block-placeholder"></div><div>You can then use viewmtn to select the latest revision and download it as a tarball.</div><div><br class="webkit-block-placeholder"></div><div>HTH,</div><div><br class="webkit-block-placeholder"></div><div>Ben</div><br><div><div>On 12 Mar 2008, at 02:48, joe lee wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hey Ben,<br><br>I went to this url: <a href="http://dev.rabbitmq.com/viewmtn/">http://dev.rabbitmq.com/viewmtn/</a> and not sure which one to checkout. Any suggestions?<br><br>Joe<br><br><div class="gmail_quote">On Mon, Mar 10, 2008 at 1:16 PM, Ben Hood <<a href="mailto:0x6e6562@gmail.com">0x6e6562@gmail.com</a>> 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 style=""><div>Hi Joe,</div><div><br></div><div>The blog post uses this snapshot version of Rabbit server: <a href="http://dev.rabbitmq.com/snapshots/rabbitmq/rabbitmq_200712231455.tar.gz" target="_blank">http://dev.rabbitmq.com/snapshots/rabbitmq/rabbitmq_200712231455.tar.gz</a>, not the released 1.2.0 version.</div> <div><br></div><div>In this version, the function start_link in rabbit_channel was exported for the first time, as part of client and server refactoring.</div><div><br></div><div>This is why you are getting a 'function not exported' error.</div> <div><br></div><div>I would even suggest downloading the latest published snapshot of the server, as this is what the latest version of the client has been tested against.</div><div><br></div><div>HTH,</div><div><br></div> <div>Ben</div><div><br></div><br><div><div><div></div><div class="Wj3C7c"><div>On 10 Mar 2008, at 17:06, joe lee wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi,<br><br>I just checked out rabbitmq client, using rabbitmq-server 1.2.0 with cotton-0.2.3.tar.gz which supports hessian 2.0.<br> <br>I was following this blog tutorial: <a href="http://hopper.squarespace.com/blog/2008/1/12/introducing-the-erlang-amqp-client.html" target="_blank">http://hopper.squarespace.com/blog/2008/1/12/introducing-the-erlang-amqp-client.html</a> and for whatever reason, rabbitmq-server is not accepting the client connection.<br> <br>My rabbitmq-server uses all default values for user "guest" and password "guest". I haven't made any changes. I started the rabbitmq server with /usr/sbin/rabbitmq-server and aborted the erlang node to stop the rabbitmq server. This causes problem during restart. I get an error such as mnesia table timeout. More likely this is occuring during mnesia trying to recover the tables.<br> <br>Back to erlang client connection problem:<br><br>1> blog_example_1:amqp_lifecycle().<br>Connection: {<0.190.0>,direct}<br><br>=ERROR REPORT==== 9-Mar-2008::21:56:53 ===<br>** Generic server <0.190.0> terminating <br> ** Last message in was {direct,none,<<>>}<br>** When Server state == {connection_state,"guest","guest",undefined,<br> undefined,<<"/">>,undefined,undefined,undefined,<br> undefined,undefined,<br> {dict,0,16,16,8,80,48,<br> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br> []},<br> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br> [],[]}}}}<br>** Reason for termination == <br>** {'function not exported',<br> [{rabbit_channel,start_link,<br> [<0.191.0>,<0.191.0>,<<"guest">>,<<"/">>]},<br> {amqp_direct_driver,open_channel,3},<br> {amqp_connection,handle_start,5},<br> {gen_server,handle_msg,5},<br> {proc_lib,init_p,5}]}<br><br>=CRASH REPORT==== 9-Mar-2008::21:56:53 ===<br> crasher:<br> pid: <0.190.0><br> registered_name: []<br> exception exit: {undef,<br> [{rabbit_channel,start_link,<br> [<0.191.0>,<0.191.0>,<<"guest">>,<<"/">>]},<br> {amqp_direct_driver,open_channel,3},<br> {amqp_connection,handle_start,5},<br> {gen_server,handle_msg,5},<br> {proc_lib,init_p,5}]}<br> in function gen_server:terminate/6<br> initial call: gen:init_it(gen_server,<0.40.0>,<0.40.0>,amqp_connection,<br> [{connection_state,"guest","guest",undefined,<br> undefined,<<"/">>,undefined,undefined,<br> undefined,undefined,undefined,<br> {dict,0,16,16,8,80,48,<br> {[],[],[],[],[],[],[],[],[],[],[],[],<br> [],[],[],[]},<br> {{[],[],[],[],[],[],[],[],[],[],[],[],<br> [],[],[],[]}}}},<br> #Fun<amqp_direct_driver.handshake.1>],<br> [])<br> ancestors: [<0.40.0>]<br> messages: []<br> links: [<0.40.0>,<0.191.0>]<br> dictionary: []<br> trap_exit: true<br> status: running<br> heap_size: 377<br> stack_size: 23<br> reductions: 451<br> neighbours:<br> neighbour: [{pid,<0.191.0>},<br> {registered_name,[]},<br> {initial_call,<br> {gen,init_it,<br> [gen_server,<0.190.0>,<0.190.0>,amqp_channel,<br> [{channel_state,1,<0.190.0>,undefined,undefined,<br> #Fun<amqp_direct_driver.do.2>,<br> #Fun<amqp_direct_driver.do.3>,undefined,<br> undefined,false,undefined,<br> {dict,0,16,16,8,80,48,<br> {[],[],[],[],[],[],[],[],[],[],[],[],[],<br> [],[],[]},<br> {{[],[],[],[],[],[],[],[],[],[],[],[],[],<br> [],[],[]}}}}],<br> []]}},<br> {current_function,{gen_server,loop,6}},<br> {ancestors,[<0.190.0>,<0.40.0>]},<br> {messages,[]},<br> {links,[<0.190.0>]},<br> {dictionary,[]},<br> {trap_exit,false},<br> {status,waiting},<br> {heap_size,233},<br> {stack_size,12},<br> {reductions,39}]<br> neighbour: [{pid,<0.40.0>},<br> {registered_name,[]},<br> {initial_call,{erlang,apply,2}},<br> {current_function,{gen,wait_resp_mon,3}},<br> {ancestors,[]},<br> {messages,[]},<br> {links,[<0.25.0>,<0.190.0>]},<br> {dictionary,[]},<br> {trap_exit,false},<br> {status,waiting},<br> {heap_size,1597},<br> {stack_size,38},<br> {reductions,1282}]<br>** exception exit: undef<br> in function rabbit_channel:start_link/4<br> called as rabbit_channel:start_link(<0.191.0>,<0.191.0>,<<"guest">>,<br> <<"/">>)<br> in call from amqp_direct_driver:open_channel/3<br> in call from amqp_connection:handle_start/5<br> in call from gen_server:handle_msg/5<br> in call from proc_lib:init_p/5<br><br><br>any help greatly appreciated,<br><span style="padding: 0pt; background-color: yellow; color: black; display: inline; font-size: inherit;">joe</span><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> </blockquote></div><br></div><br>_______________________________________________<br> rabbitmq-discuss mailing list<br> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">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></body></html>