[rabbitmq-discuss] error running stomp

mark markkicks at gmail.com
Wed Feb 4 15:45:31 GMT 2009

thanks a lot, the stomp got started.
but the example ruby script is not running [i followed from here

ruby rabbitmq-stomp-default/examples/rubycb-receiver.rb

/usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:233:in `write':
Broken pipe (Errno::EPIPE)
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:233:in `puts'
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:233:in
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:232:in
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:232:in
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:220:in
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:117:in
        from cb-receiver.rb:5

on /tmp/rabbit.log

=INFO REPORT==== 4-Feb-2009::07:38:06 ===
accepted TCP connection on from

=INFO REPORT==== 4-Feb-2009::07:38:06 ===
starting STOMP connection <0.1093.0> from

=ERROR REPORT==== 4-Feb-2009::07:38:06 ===
STOMP error frame sent:
Message: "Processing error"
Detail: "{undef,[{rabbit_channel,start_link,\n
      <<\"/\">>]},\n        {rabbit_stomp,do_login,4},\n
{rabbit_stomp,init,1},\n        {proc_lib,init_p,5}]}\n"

=INFO REPORT==== 4-Feb-2009::07:38:06 ===
ending STOMP connection <0.1093.0> from

how do i fix this?
thanks a lot!

On Tue, Feb 3, 2009 at 10:30 PM, Matthias Radestock <matthias at lshift.net> wrote:
> Mark,
> mark wrote:
>> i got stomp compiled. but when i try to run it i get this error.
>> how do i fix this?
>> the rabbitmq-server is running.
> There is your problem. When you run
>> make -C ../rabbitmq-server run \
>>                RABBITMQ_SERVER_START_ARGS='-pa '"$(pwd)/ebin"' -rabbit \
>>                        stomp_listeners [{\"\",61613}] \
>>                        extra_startup_steps
>> [{\"STOMP-listeners\",rabbit_stomp,kickstart,[]}]'
> a new rabbitmq server is started. But since you already have a server
> running (and it has the same erlang node name), starting the new server
> fails with "{error,duplicate_name}".
> So just stop the running rabbitmq-server and try again.
> Regards,
> Matthias.

More information about the rabbitmq-discuss mailing list