-
1. Re: How to stop servicemix when running in server mode?
socallag Oct 6, 2009 5:22 AM (in response to dandries)Hi,
Have you tried sending a shutdown commnad using the servicemix-client?
From:
http://servicemix.apache.org/kernel/42-remote-console.html
Sending direct commands from the client
The client jar does not yet support passing command line arguments to the remote ServiceMix Kernel.
In order to do so, you can create a text file containing the commands and use the system console to redirect this file to the input stream:
echo osgi/shutdown > command.txt
java -jar lib/servicemix-client.jar < command.txt
Let us know if this works for you, also what version of the ESB are you using?
Regards,
Seán.
-
2. Re: How to stop servicemix when running in server mode?
dandries Oct 7, 2009 3:11 AM (in response to socallag)Hi Seán,
thanks for your reply. I found the answer I looked for in your answer
I didn't use the osgi command shutdown before.
So now, I connect remotely using ssh and osgi/shutdown stops the kernel in a clean way. Perfect!
Thanks for your help.