[rabbitmq-discuss] rabbitmq erlang client connection issue

Alexis Richardson alexis.richardson at cohesiveft.com
Wed Mar 12 11:10:18 GMT 2008


Amin

You are quite right and this is being addressed currently - we have
been planning some web site changes.  Normal service will resume
shortly.

alexis


On Wed, Mar 12, 2008 at 9:24 AM, Amin Abbaspour <a.abbaspour at gmail.com> wrote:
> Hi,
>
>  With respect to all, but why don't you place an updated version of
>  snapshot? After all it's supposed to be an snapshot :)
>
>  This issues seems to cause many problems esp. for new comers.
>
>  Regards,
>  Amin
>
>
>
>  On Wed, Mar 12, 2008 at 11:39 AM, Ben Hood <0x6e6562 at gmail.com> wrote:
>  >
>  > Hi Joe,
>  >
>  > The version of the client used in the blog can be accessed as a tarball via
>  > this URL:
>  > http://dev.rabbitmq.com/viewmtn/revision/tar/7e281d11727fd3392033eb16facb2a391506d3b1
>  >
>  > In general, you can browse the Erlang client branch with this URL:
>  > http://dev.rabbitmq.com/viewmtn/branch/changes/com.rabbitmq.erlang-client
>  >
>  > You can then use viewmtn to select the latest revision and download it as a
>  > tarball.
>  >
>  > HTH,
>  >
>  > Ben
>  >
>  >
>  >
>  > On 12 Mar 2008, at 02:48, joe lee wrote:
>  > Hey Ben,
>  >
>  > I went to this url: http://dev.rabbitmq.com/viewmtn/ and not sure which one
>  > to checkout.  Any suggestions?
>  >
>  > Joe
>  >
>  > On Mon, Mar 10, 2008 at 1:16 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
>  >
>  > >
>  > >
>  > > Hi Joe,
>  > >
>  > >
>  > > The blog post uses this snapshot version of Rabbit server:
>  > http://dev.rabbitmq.com/snapshots/rabbitmq/rabbitmq_200712231455.tar.gz, not
>  > the released 1.2.0 version.
>  > >
>  > >
>  > > In this version, the function start_link in rabbit_channel was exported
>  > for the first time, as part of client and server refactoring.
>  > >
>  > >
>  > > This is why you are getting a 'function not exported' error.
>  > >
>  > >
>  > > 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.
>  > >
>  > >
>  > > HTH,
>  > >
>  > >
>  > > Ben
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > On 10 Mar 2008, at 17:06, joe lee wrote:
>  > >
>  > >
>  > >
>  > >
>  > > Hi,
>  > >
>  > > I just checked out rabbitmq client, using rabbitmq-server 1.2.0 with
>  > cotton-0.2.3.tar.gz which supports hessian 2.0.
>  > >
>  > > I was following this blog tutorial:
>  > http://hopper.squarespace.com/blog/2008/1/12/introducing-the-erlang-amqp-client.html
>  > and for whatever reason, rabbitmq-server is not accepting the client
>  > connection.
>  > >
>  > > 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.
>  > >
>  > > Back to erlang client connection problem:
>  > >
>  > > 1> blog_example_1:amqp_lifecycle().
>  > > Connection: {<0.190.0>,direct}
>  > >
>  > > =ERROR REPORT==== 9-Mar-2008::21:56:53 ===
>  > > ** Generic server <0.190.0> terminating
>  > > ** Last message in was {direct,none,<<>>}
>  > > ** When Server state == {connection_state,"guest","guest",undefined,
>  > >
>  > undefined,<<"/">>,undefined,undefined,undefined,
>  > >                             undefined,undefined,
>  > >                             {dict,0,16,16,8,80,48,
>  > >
>  > {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>  > >                                  []},
>  > >
>  > {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>  > >                                   [],[]}}}}
>  > > ** Reason for termination ==
>  > > ** {'function not exported',
>  > >        [{rabbit_channel,start_link,
>  > >             [<0.191.0>,<0.191.0>,<<"guest">>,<<"/">>]},
>  > >         {amqp_direct_driver,open_channel,3},
>  > >         {amqp_connection,handle_start,5},
>  > >         {gen_server,handle_msg,5},
>  > >         {proc_lib,init_p,5}]}
>  > >
>  > > =CRASH REPORT==== 9-Mar-2008::21:56:53 ===
>  > >   crasher:
>  > >     pid: <0.190.0>
>  > >     registered_name: []
>  > >     exception exit: {undef,
>  > >                         [{rabbit_channel,start_link,
>  > >                              [<0.191.0>,<0.191.0>,<<"guest">>,<<"/">>]},
>  > >                          {amqp_direct_driver,open_channel,3},
>  > >                          {amqp_connection,handle_start,5},
>  > >                          {gen_server,handle_msg,5},
>  > >                          {proc_lib,init_p,5}]}
>  > >       in function  gen_server:terminate/6
>  > >     initial call:
>  > gen:init_it(gen_server,<0.40.0>,<0.40.0>,amqp_connection,
>  > >
>  > [{connection_state,"guest","guest",undefined,
>  > >                                    undefined,<<"/">>,undefined,undefined,
>  > >                                    undefined,undefined,undefined,
>  > >                                    {dict,0,16,16,8,80,48,
>  > >
>  > {[],[],[],[],[],[],[],[],[],[],[],[],
>  > >                                         [],[],[],[]},
>  > >
>  > {{[],[],[],[],[],[],[],[],[],[],[],[],
>  > >                                          [],[],[],[]}}}},
>  > >                                #Fun<amqp_direct_driver.handshake.1>],
>  > >                               [])
>  > >     ancestors: [<0.40.0>]
>  > >     messages: []
>  > >     links: [<0.40.0>,<0.191.0>]
>  > >     dictionary: []
>  > >     trap_exit: true
>  > >     status: running
>  > >     heap_size: 377
>  > >     stack_size: 23
>  > >     reductions: 451
>  > >   neighbours:
>  > >     neighbour: [{pid,<0.191.0>},
>  > >                   {registered_name,[]},
>  > >                   {initial_call,
>  > >                       {gen,init_it,
>  > >                           [gen_server,<0.190.0>,<0.190.0>,amqp_channel,
>  > >
>  > [{channel_state,1,<0.190.0>,undefined,undefined,
>  > >                                 #Fun<amqp_direct_driver.do.2>,
>  > >                                 #Fun<amqp_direct_driver.do.3>,undefined,
>  > >                                 undefined,false,undefined,
>  > >                                 {dict,0,16,16,8,80,48,
>  > >
>  > {[],[],[],[],[],[],[],[],[],[],[],[],[],
>  > >                                      [],[],[]},
>  > >
>  > {{[],[],[],[],[],[],[],[],[],[],[],[],[],
>  > >                                       [],[],[]}}}}],
>  > >                            []]}},
>  > >                   {current_function,{gen_server,loop,6}},
>  > >                   {ancestors,[<0.190.0>,<0.40.0>]},
>  > >                   {messages,[]},
>  > >                   {links,[<0.190.0>]},
>  > >                   {dictionary,[]},
>  > >                   {trap_exit,false},
>  > >                   {status,waiting},
>  > >                   {heap_size,233},
>  > >                   {stack_size,12},
>  > >                   {reductions,39}]
>  > >     neighbour: [{pid,<0.40.0>},
>  > >                   {registered_name,[]},
>  > >                   {initial_call,{erlang,apply,2}},
>  > >                   {current_function,{gen,wait_resp_mon,3}},
>  > >                   {ancestors,[]},
>  > >                   {messages,[]},
>  > >                   {links,[<0.25.0>,<0.190.0>]},
>  > >                   {dictionary,[]},
>  > >                   {trap_exit,false},
>  > >                   {status,waiting},
>  > >                   {heap_size,1597},
>  > >                   {stack_size,38},
>  > >                   {reductions,1282}]
>  > > ** exception exit: undef
>  > >      in function  rabbit_channel:start_link/4
>  > >         called as
>  > rabbit_channel:start_link(<0.191.0>,<0.191.0>,<<"guest">>,
>  > >                                             <<"/">>)
>  > >      in call from amqp_direct_driver:open_channel/3
>  > >      in call from amqp_connection:handle_start/5
>  > >      in call from gen_server:handle_msg/5
>  > >      in call from proc_lib:init_p/5
>  > >
>  > >
>  > > any help greatly appreciated,
>  > > joe
>  > > _______________________________________________
>  > > rabbitmq-discuss mailing list
>  > > rabbitmq-discuss at lists.rabbitmq.com
>  > > http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>  > >
>  > >
>  > > _______________________________________________
>  > > rabbitmq-discuss mailing list
>  > > rabbitmq-discuss at lists.rabbitmq.com
>  > > http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>  > >
>  > >
>  >
>  >
>  >
>  > _______________________________________________
>  >  rabbitmq-discuss mailing list
>  >  rabbitmq-discuss at lists.rabbitmq.com
>  >  http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>  >
>  >
>
>  _______________________________________________
>  rabbitmq-discuss mailing list
>  rabbitmq-discuss at lists.rabbitmq.com
>  http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



-- 
Alexis Richardson
+44 20 7617 7339 (UK)
+44 77 9865 2911 (cell)
+1 650 206 2517 (US)




More information about the rabbitmq-discuss mailing list