Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Standard practice for deploying in daemon mode?

Java Service Wrapper.  Been using this for years and it works like a charm -
wide variety of platform support, as well.

http://tinyurl.com/5lfgj


On 2/17/07 12:01 AM, "David Leangen" <osgi@xxxxxxxxxxx> wrote:

> 
> I got busy and was no longer tracking this list for several weeks... so
> hopefully my picking up this thread again is still relevant.
> 
> Essentially, running in daemon mode seems to be very OS specific. I am using
> Linux, and my favourite tool that I've found so far is daemontools
> (http://cr.yp.to/daemontools.html). It's simple, light weight, robust, and
> effective, IMO.
> 
> In any case, regardless of the tool and/or command being used, it seems
> clear to me that a few things must be handled differently:
> 
>  - stdin, stderr
>  - GUI, TUI
> 
> If anything is output to stdin and/or stderr, and these are captured by a
> log file, then due to the potentially huge amount of text, it is important
> to ensure rotational logging.
> 
> I haven't done this in a while, but back in the day I was using Oscar like
> this. I found that it was necessary to disable the TUI, as it would
> constantly output loads of junk (just a cursor being output constantly)
> rendering the logs totally useless. So, it would appear that the startup
> provisioning needs to take into account whether the container is in
> "application" mode or "daemon" mode.
> 
> 
> I will investigate this further sometime soon and post a bug report as you
> suggested.
> 
> Is there anything in particular you'd like to know?
> 
> 
> Cheers,
> David
> 
> 
> 
> 
> -----Original Message-----
> From: equinox-dev-bounces@xxxxxxxxxxx
> [mailto:equinox-dev-bounces@xxxxxxxxxxx]On Behalf Of Jeff McAffer
> Sent: 4 January 2007 12:52
> To: Equinox development mailing list
> Subject: Re: [equinox-dev] Standard practice for deploying in daemon mode?
> 
> 
> 
> Great question.  I recall someone looking into this in the past but do not
> recall the result.  It would be great if you could outline the requirements,
> issues and approaches in a bug report.  This is an interesting usecase that
> should be covered by the code and/or doc as required.
> 
> Does this tie into how Eclipse is launched?  We are redoing the launcher now
> so perhaps there is something we can/should do there?
> 
> Jeff
> 
> 
> 
> "David Leangen" <osgi@xxxxxxxxxxx>
> Sent by: equinox-dev-bounces@xxxxxxxxxxx
> 01/02/2007 11:55 PM Please respond to
> Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
> 
> To<equinox-dev@xxxxxxxxxxx>
> cc
> Subject[equinox-dev] Standard practice for deploying in daemon mode?
> 
> 
> 
> 
> 
> 
> 
> 
> Hello!
> 
> I am just wondering if there is a standard practice or maybe some code
> available for deploying Equinox in daemon mode on Linux...
> 
> I usually use djb's daemontools for this kind of thing, but I thought I'd
> check here first.
> 
> 
> Any suggestions would be most welcome.
> 
> 
> Thank you!
> David
> 
> 
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev




Back to the top