[rabbitmq-discuss] RabbitMQ 1.8.1 Stomp adaptor badmatch
Tim Child
tim at cantemo.com
Mon Aug 23 16:30:19 BST 2010
I managed with the help of the IRC channel to checkout the complete rabbitmq-public-umbrella and compile.
So now was is left to do is to install in a meaningful way on my Ubuntu 10.04 LTS server, by that I mean, have a proper daemon running, with the binaries on the path and have the STOMP server installed. I presume there is something in rabbitmq-server/packaging I could use?
I can't find any instructions on how to do this however.
Tim.
On 23 Aug 2010, at 16:20, Simon MacMullen wrote:
> On 23/08/10 14:31, Tim Child wrote:
>> This is what I got in my log file:
>>
>> =INFO REPORT==== 23-Aug-2010::14:38:19 ===
>> starting STOMP connection<0.451.0> from 10.0.1.100:63404
>>
>> =ERROR REPORT==== 23-Aug-2010::14:38:19 ===
>> STOMP error frame sent:
>> Message: "Processing error"
>> Detail: "Processing error\n"
>> Server private detail: {{badmatch,
>> {ok,
>> {'channel.open_ok'},
>>
>> {state,#Port<0.2016>,undefined,<0.453.0>,<0.452.0>,
>> {headers,
>> {hstate,command,[],undefined,undefined,
>> []}}}}},
>> [{rabbit_stomp_server,do_login,4},
>> {rabbit_stomp_server,process_frame,3},
>> {rabbit_stomp_server,process_received_bytes,
>> 2},
>> {rabbit_stomp_server,init,1},
>> {proc_lib,init_p_do_apply,3}]}
>>
>> =INFO REPORT==== 23-Aug-2010::14:38:19 ===
>> ending STOMP connection<0.451.0> from 10.0.1.100:63404
>
> This looks like you are running the wrong version. However...
>
>> What I did was checkout the rabbitmq-public-umbrella package, then I
>> reverted rabbitmq-stomp to version 149
>
> In Mercurial, the short version integers like 149 are only meanigful locally - my 149 is not yours, unfortunately. Jérémy Lal suggests that 0428e1a2a2ab should work - you should be able to see this with "hg id".
>
>> cd rabbitmq-stomp
>> hg update -C -r 149
>> make package
>> Then I copied rabbitmq-stomp/dist/rabbit_stomp.ez and rabbitmq-stomp/
>> dist/amqp_client.ez to my plugins directory
>
> Sounds OK.
>
>> and then copied the
>> rabbitmq-stomp/ebin files to my rabbitmq_server-1.8.1/ebin/ directory.
>
> You should not need to copy these - they're embedded in the .ez file.
>
> Cheers, Simon
>
> --
> Simon MacMullen
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Tim Child
+46 (0) 7602 17785
Skype: timchild
http://www.cantemo.com
More information about the rabbitmq-discuss
mailing list