Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 1998 00:36:47 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        J_Shevland@TurnAround.com.au (Joe Shevland)
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Daemonising a Java Process: Possible?
Message-ID:  <199809070736.AAA07781@bubba.whistle.com>
In-Reply-To: <199809070129.LAA00908@WEBBSD1.turnaround.com.au> from Joe Shevland at "Sep 7, 98 11:25:50 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Shevland writes:
> We have a multi-threaded Java server process that we want to daemonise in
> the Unix fashion of the word; what's the easiest way to do this?
> 
> I was thinking of wrapping a bit of C code around it to handle the child
> forking etc..., but even a command line equivalent would be OK (can you do
> an exec or one of its cousins?)

I've written a simple class + native code that does this. Lemme know
if you're interested in seeing it.

Also have some other handy stuff, like SysExits.java, Syslog.java, etc.
These all use the JNI interface (but I use kaffe instead of the JDK).

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809070736.AAA07781>