[rabbitmq-discuss] RabbitMQ/Stomp on Windows

mjustin michael.justin at gmx.net
Wed Dec 16 16:05:06 GMT 2009


Hello Matthias,

many thanks for the link. I understand that I have to create a new
configuration file on Windows and add the required parameters.

If I start RabbitMQ (on Ubuntu), the startup script (makefile) seems to pass
parameters and logs then to the console. I am not sure what the
configuration file should look like, I have only the output of the startup

make: Entering directory
`/home/michael/Desktop/rabbitmq-public-umbrella/rabbitmq-stomp'
make -C ../rabbitmq-server run \
		RABBITMQ_SERVER_START_ARGS='-pa '"$(pwd)/ebin"' -rabbit \
			stomp_listeners [{\"10.0.2.15\",61613}] \
			extra_startup_steps [{\"STOMP-listeners\",rabbit_stomp,kickstart,[]}]'
make[1]: Entering directory
`/home/michael/Desktop/rabbitmq-public-umbrella/rabbitmq-server'
RABBITMQ_NODE_IP_ADDRESS="" RABBITMQ_NODE_PORT="" RABBITMQ_LOG_BASE="/tmp"
RABBITMQ_MNESIA_DIR="/tmp/rabbitmq-rabbit-mnesia" \
		RABBITMQ_NODE_ONLY=true \
		RABBITMQ_SERVER_START_ARGS="-pa
/home/michael/Desktop/rabbitmq-public-umbrella/rabbitmq-stomp/ebin -rabbit \
		stomp_listeners [{\"10.0.2.15\",61613}] \
		extra_startup_steps [{\"STOMP-listeners\",rabbit_stomp,kickstart,[]}] -s
rabbit" \
		./scripts/rabbitmq-server


I guess it is something like this:

  [
    {rabbit, 
	[{stomp_listeners [{"10.0.2.15",61613}]},
	  extra_startup_steps [{"STOMP-listeners",	  rabbit_stomp,kickstart}]}
             ]}
  ].

However, the server startup fails with 

"{"could not start kernel pid",application_controller,"error in config file
\"c:/
Users/mj/AppData/Roaming/RabbitMQ/rabbitmq.config\" (3): syntax error
before: '[
'"}"

So I guess the file contains a syntax error.

How will the server find the stomp adapter, can I just place the
rabbitmq-stomp folder (copied from the Ubuntu box) in the parent folder of
rabbitmq_server-1.7.0 on the windows box?

Many thanks in advance,
Michael Justin



Matthias Radestock-2 wrote:
> 
> Michael,
> 
> Michael Justin wrote:
>> is it possible to transfer the compiled code of the Stomp adapter to a 
>> Windows box,
> 
> Yes, as long as the version of Erlang you are running on the Windows box 
> is the same or more recent than the one where you did the compilation.
> 
>> and modify the startup script for the the Windows  distribution so
>> that it uses the Stomp adapter?
> 
> There is no need to modify any startup scripts; the required 
> configuration for the stomp plug-in can be added to the configuration 
> file - see http://www.rabbitmq.com/install.html#configfile.
> 
> 
> Regards,
> 
> Matthias.
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 


-----
Michael Justin
SCJP, SCJA
betasoft - Software for Delphi™ and for the Java™ platform
http://www.mikejustin.com - http://www.betabeans.de
-- 
View this message in context: http://old.nabble.com/RabbitMQ-Stomp-on-Windows-tp26526258p26813626.html
Sent from the RabbitMQ mailing list archive at Nabble.com.





More information about the rabbitmq-discuss mailing list