| Author |
Message |
|
| Guest |
Posted: Wed Dec 16, 2009 4:06 pm |
|
|
|
Guest
|
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@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.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Dec 23, 2009 2:07 pm |
|
|
|
Guest
|
Am 16.12.2009 17:05, mjustin wrote:
> 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}]}
> ]}
> ].
>
>
Hello Matthias,
I am still stuck with the Stomp configuration on Windows. Is there an
example configuration file available somewhere which could be used on
Windows to start the 1.7.0 binary release, and which activates the Stomp
listener?
Regards,
--
Michael Justin
SCJP, SCJA
betasoft - Software for Delphi™ and for the Java™ platform
http://www.mikejustin.com - http://www.betabeans.de
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Dec 24, 2009 8:08 am |
|
|
|
Guest
|
Michael
We won't be able to look at this for the next few days. Initial
investigation suggests that, for Windows, your stomp plugin needs to
be in a different location. It's a bit of a fiddle and I'm sorry
about that. Once we have sorted this out for you, we'll document
"using plugins on Windows" better.
alexis
On Wed, Dec 23, 2009 at 2:06 PM, Michael Justin <michael.justin@gmx.net> wrote:
> Am 16.12.2009 17:05, mjustin wrote:
>> 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 \
>> |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|