You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Marcus Crafter <cr...@yahoo.com> on 2001/02/26 00:25:00 UTC

[patch] jsvc signal handling code

Hi All,

I've added some code to the native service source to test restarting and
stopping jsvc via SIGHUP and SIGTERM respectively, and also to fix a small
compile error when the DEBUG define is set. Please let me know if the changes
are appropriate. Patch is attached.

With the supplied functions I've seen good results restarting and stopping the
SimpleService example via kill -HUP and kill -TERM. Good stuff.

Now Tomcat - does the Tomcat 3 & 4 source base currently support the service
interface for stopping and restarting tomcat via signals ? A quick grep through
the 4.0b1 source code didn't yield anything (but then I'm quite new to the
source). Any information would be greatly appreciated.

Hope everyone had a great weekend.

Cheers,

Marcus

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Re: [patch] jsvc signal handling code

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Marcus Crafter <cr...@yahoo.com> wrote:

> Hi All,
> 
> I've added some code to the native service source to test restarting and
> stopping jsvc via SIGHUP and SIGTERM respectively, and also to fix a small
> compile error when the DEBUG define is set. Please let me know if the changes
> are appropriate. Patch is attached.
> 
> With the supplied functions I've seen good results restarting and stopping the
> SimpleService example via kill -HUP and kill -TERM. Good stuff.
> 
> Now Tomcat - does the Tomcat 3 & 4 source base currently support the service
> interface for stopping and restarting tomcat via signals ? A quick grep
> through
> the 4.0b1 source code didn't yield anything (but then I'm quite new to the
> source). Any information would be greatly appreciated.
> 
> Hope everyone had a great weekend.

Cool... Thank you... I'm going to check out and apply the patch tomorrow to
the repository... I'm working right now on the new documentation for the
Invocation API in accordance with what is being discussed on JSR-096 and I'd
love to try to release it in the upcoming two weeks, before I fly to
London...

    Pier

-- 
----------------------------------------------------------------------------
Pier Fumagalli  <http://www.betaversion.org/>  <ma...@betaversion.org>