[rabbitmq-discuss] RabbitMQ 1.8.1 Stomp adaptor badmatch
Simon MacMullen
simon at rabbitmq.com
Mon Aug 23 15:20:51 BST 2010
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
More information about the rabbitmq-discuss
mailing list