; De : news [mailto:[EMAIL PROTECTED] De la part de Aaron Crow
> Envoyé : lundi 10 mars 2008 23:58
> À : discuss@restlet.tigris.org
> Objet : Re: Shut down a Restlet server using kill?
>
> Hi Jerome and All,
>
> A related question: Is there a programmatic way to tell the
> Restl
Hi Jerome and All,
A related question: Is there a programmatic way to tell the Restlet engine
to do a clean shutdown, and if so, what's the contract that it fulfills? I
see that there is an Application.stop() method, but I'm a little confused
about the purpose it serves. Code diving suggests i
I know somebody's already done jsvc integration, though I don't think it's
in trunk.
I'm going to have to implement procrun integration myself in the next few
weeks for a project, unless somebody already has, and cares to contribute it
... hint hint ...
- R
On Mon, Mar 10, 2008 at 1:37 AM, code
has anybody used ->http://commons.apache.org/daemon/ ??
On 3/9/08, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> On Sun, Mar 9, 2008 at 2:36 PM, John D. Mitchell <[EMAIL PROTECTED]>
> wrote:
> > On Sat, Mar 8, 2008 at 2:29 PM, Steve Loughran <[EMAIL PROTECTED]>
> wrote:
> > [...]
> >
> > > you'r
On Sun, Mar 9, 2008 at 2:36 PM, John D. Mitchell <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 8, 2008 at 2:29 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> [...]
>
> > you're server should start returning something other than 200 from its
> > happy page, and the HTTP-aware front end load balancer
On Sat, Mar 8, 2008 at 2:29 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
[...]
> you're server should start returning something other than 200 from its
> happy page, and the HTTP-aware front end load balancer (which polls
> these pages) will stop routing traffic to it. That makes it implicit
>
On Sat, Mar 8, 2008 at 2:25 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
[...]
> We in SmartFrog, http://smartfrog.org/ are assing support for Restlet
> deployments as manageable components, but I don't consider the stuff
> stable yet. I've finally got all my tests with S3 working, with
> thro
On Sat, Mar 8, 2008 at 12:45 AM, Aaron Crow <[EMAIL PROTECTED]> wrote:
> Hi John,
>
> So as far as server app code dealing with a forced shutdown, may I ask what
> you recommend for situations where there's some task running that really
> should be allowed to complete? For example, would you hav
On Fri, Mar 7, 2008 at 1:09 PM, John D. Mitchell <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 11:28 AM, Aaron Crow <[EMAIL PROTECTED]> wrote:
> > Is it ok to shut down a Restlet server using Unix kill?
>
> Depends on your application's specifics.
>
> For example, the oldest Restlet-based
On Fri, Mar 7, 2008 at 4:45 PM, Aaron Crow <[EMAIL PROTECTED]> wrote:
> Hi John,
Howdy!
> So as far as server app code dealing with a forced shutdown, may I ask what
> you recommend for situations where there's some task running that really
> should be allowed to complete? For example, would y
Thanks Jerome, I had not heard of the Tanuki Wrapper. Very cool!
"Jerome Louvel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi Aron,
I suggest instead that you leverage the Tanuki Wrapper:
http://wrapper.tanukisoftware.org/
It provides you an Unix daemon that you can start/
Hi John,
So as far as server app code dealing with a forced shutdown, may I ask what
you recommend for situations where there's some task running that really
should be allowed to complete? For example, would you have the concept of an
internal registry, where tasks are registered, and a shutdo
On Thu, Mar 6, 2008 at 11:28 AM, Aaron Crow <[EMAIL PROTECTED]> wrote:
> Is it ok to shut down a Restlet server using Unix kill?
Depends on your application's specifics.
For example, the oldest Restlet-based production code that I have is
an authentication gateway that I would just kill outright.
You should just down a Restlet server like any other java application,
either with QUIT on unix or Control-Break on Windows.
That will allow the jvm to gracefully shutdown by running finalizers and
shutdown hooks.
Sincerely,
Kevin Conaway
On Thu, Mar 6, 2008 at 2:28 PM, Aaron Crow <[EMAIL PROTE
Hi Aron,
I suggest instead that you leverage the Tanuki Wrapper:
http://wrapper.tanukisoftware.org/
It provides you an Unix daemon that you can start/stop/restart easily and
many other features. We happily use it in production and it is also included
in the Restlet distribution.
Best regards,
J
15 matches
Mail list logo