Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  RabbitMQ/Stomp on Windows

Guest
Posted: Mon Jan 11, 2010 9:25 am Reply with quote
Guest
Michael,

mjustin wrote:
> 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
> [...]
> I guess it is something like this:
>
> [
> {rabbit,
> [{stomp_listeners [{"10.0.2.15",61613}]},
> extra_startup_steps [{"STOMP-listeners", rabbit_stomp,kickstart}]}
> ]}
> ].

The above is syntactically invalid. It should be

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

However, that's still not right for 1.7.0, since there we switched stomp
to be a plug-in and the configuration mechanism changed accordingly.
Now, as per the README in the rabbitmq-stomp hg repo, you should only need

[{rabbit_stomp, [{listeners, [{"10.0.2.15",61613}]}]}].


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Tue Jan 12, 2010 6:17 pm Reply with quote
Guest
Okay, I finally figured out that I subscribed to this list in an
insufficient number of places. I won't paste my original email (which
discussed calling install-plugins and modifying my -server script) but
I will state that I needed to make the following changes to my -
service script in order for it to run the custom boot required to
launch the plugin manager (or whatever it's doing behind the scenes)

"%ERLANG_SERVICE_MANAGER_PATH%\erlsrv" list %RABBITMQ_SERVICENAME%
2>NUL 1>NUL
if errorlevel 1 (
"%ERLANG_SERVICE_MANAGER_PATH%\erlsrv" add %RABBITMQ_SERVICENAME%
) else (
echo %RABBITMQ_SERVICENAME% service is already present - only
updating service parameters
)

set RABBIT_EBIN=%~dp0..\ebin
if exist "%RABBIT_EBIN%\rabbit.boot" (
echo Using Custom Boot File "%RABBIT_EBIN%\rabbit.boot"
set RABBITMQ_BOOT_FILE="%RABBIT_EBIN%\rabbit"
set RABBITMQ_EBIN_PATH=
) else (
set RABBITMQ_BOOT_FILE=start_sasl
set RABBITMQ_EBIN_PATH=-pa "%RABBIT_EBIN%"
)

set ERLANG_SERVICE_ARGUMENTS= ^
%RABBITMQ_EBIN_PATH% ^
-boot %RABBITMQ_BOOT_FILE% ^
-s rabbit ^
+W w ^
+A30 ^

On Jan 11, 1:24
Guest
Posted: Tue Jan 12, 2010 6:33 pm Reply with quote
Guest
Erik,

Erik Anderson wrote:
> I will state that I needed to make the following changes to my -
> service script in order for it to run the custom boot required to
> launch the plugin manager (or whatever it's doing behind the scenes)
> [...]

Right. Changes along those lines are already on the default branch and
will be in the next release.


Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum