[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] I want to shutdown the equinox sever by shell, How to do it.

If you take the approach of tomcat, it has a management socket open on some port.ÂThis socket is waiting for some external process to send it a "SHUTDOWN" command string.

This is configured by the <Server> element:

<Server port="8005" shutdown="SHUTDOWN">

You could do the same.

You can do exactly that using the telnet interface though as well from a shell script.

- Ray

On Wed, Jun 20, 2012 at 10:11 PM, Alex Wei <wei.xf@xxxxxxxxxxx> wrote:
I start a osgi equinox with "-Declipse.ignoreApp=true -Dosgi.noShutdown=true" and "-console"
I can exit or close it with "osgi > close" or "osgi >exit" command,
but I want to close it by shell or external command, how to do.
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.

equinox-dev mailing list

Raymond Augà Â|ÂSenior Software Architect |ÂLiferay, Inc.Â


8-9 October 2012 |ÂLiferayÂNorth America SymposiumÂ|Âliferay.com/northamerica2012

16-17 October 2012 |ÂLiferayÂEurope SymposiumÂ|Âliferay.com/europe2012

24-25 October 2012 |ÂLiferayÂSpain SymposiumÂ|Âliferay.com/spain2012