[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
http://www.lshift.net/blog/index.php?s=stomp]

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
`_transmit'
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:232:in
`synchronize'
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:232:in
`_transmit'
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:220:in
`transmit'
        from /usr/lib/ruby/gems/1.8/gems/stomp-1.0.6/lib/stomp.rb:117:in
`subscribe'
        from cb-receiver.rb:5


on /tmp/rabbit.log


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

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

=ERROR REPORT==== 4-Feb-2009::07:38:06 ===
STOMP error frame sent:
Message: "Processing error"
Detail: "{undef,[{rabbit_channel,start_link,\n
[rabbit_stomp,<0.1093.0>,<0.1093.0>,<<\"guest\">>,\n
      <<\"/\">>]},\n        {rabbit_stomp,do_login,4},\n
{rabbit_stomp,process_frame,3},\n
{rabbit_stomp,process_received_bytes,2},\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 127.0.0.1:35526


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 [{\"0.0.0.0\",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