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>