www.noelios.com
-Message d'origine-
De : news [mailto:n...@ger.gmane.org] De la part de Leshek
Envoye : jeudi 15 janvier 2009 00:21
A : discuss@restlet.tigris.org
Objet : Re: Command line to STOP Restlet server
> When you stop the parent Component, it stops all the child connectors.
> When you stop the parent Component, it stops all the child connectors.
Sounds like a simple, nice, soft stop for me, but...
What I am thinking is to respond to URI request like PUT .../shutdown
(limit to localhost request and run through authentication guard as all
the other requests).
Ho
eshek Fiedorowicz
Envoye : mercredi 14 janvier 2009 06:35
A : discuss@restlet.tigris.org
Objet : Re: Command line to STOP Restlet server
All good, helpful hints, but... by Restlet designed (the best practice?) way
to stop Restlet internal HTTP server?
Leshek
Ps. I have re-registered with tigris,
All good, helpful hints, but... by Restlet designed (the best practice?) way
to stop Restlet internal HTTP server?
Leshek
Ps. I have re-registered with tigris, thank you Jerome!
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMe
ssage d'origine-
De : news [mailto:n...@ger.gmane.org] De la part de Leshek
Envoye : mardi 13 janvier 2009 00:48
A : discuss@restlet.tigris.org
Objet : Command line to STOP Restlet server
I want to have stop and exit restlet server command line interface.
The start is simple (java -jar myRes
Leshek wrote:
> I know from within I can do getContext().getApplication().stop()
> I could to it in response to http request .../STOP, but... I want to keep
> control on the server only.
Apart from the Service Wrapper already pointed out, you could always restrict
access to such a resource. Eith
Take a look at Java Service Wrapper:
http://wrapper.tanukisoftware.org/
It covers all sorts of possibilities.
--tim
On Mon, Jan 12, 2009 at 12:29 PM, Leshek wrote:
> I want to have stop and exit restlet server command line interface.
> The start is simple (java -jar myRest.jar).
>
> I know fro
I want to have stop and exit restlet server command line interface.
The start is simple (java -jar myRest.jar).
I know from within I can do getContext().getApplication().stop()
I could to it in response to http request .../STOP, but... I want to keep
control on the server only.
So I am looking f
I want to have stop and exit restlet server command line interface.
The start is simple (java -jar myRest.jar).
I know from within I can do getContext().getApplication().stop()
I could to it in response to http request .../STOP, but... I want to keep
control on the server only.
So I am looking f
9 matches
Mail list logo