Skip to main content

[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
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev




--
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



Back to the top