commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [DAEMON] Site documentation
Date Wed, 17 Mar 2010 19:53:51 GMT
On 17/03/2010, Bill Barker <billwbarker@verizon.net> wrote:
>
>
>  --------------------------------------------------
>  From: "sebb" <sebbaz@gmail.com>
>  Sent: Tuesday, March 16, 2010 11:46 AM
>  To: "Commons Developers List" <dev@commons.apache.org>
>  Subject: [DAEMON] Site documentation
>
>
>
> > The binaries page:
> >
> >
> http://people.apache.org/~mturk/daemon/site/binaries.html
> >
> > mentions FreeBSD, but the only provided implementations are linux,
> > darwin, solaris, windows.
> >
> > Also, the naming convention is not as documented on the page.
> >
> > It would help if the page explained the difference between
> >
> > commons-daemon-1.0.3-bin.tar.gz
> > and
> > commons-daemon-1.0.3-bin_linux_xxx.tar.gz
> > etc.
> >
> > I could not work out from the site how to install/use the Java code -
> > or indeed whether it is needed at all.
> >
> >
>
>  For Tomcat it is not needed (even if Gump keeps depending on it).  In
> general, you only need a class with the same signatures as the Daemon
> interface to use it.  It will work without actually having to implement the
> Daemon interface itself.

OK, thanks!

So if the class implements the Daemon interface, then the c-d jar is required.

However, if the class does not implement the Daemon interface, then
presumably the jar is not required. Yes?

If so, then this looks wrong:

http://commons.apache.org/daemon/jsvc.html#Directly

./jsvc -cp commons-daemon.jar:my.jar MyClass

This should surely be

./jsvc -cp my.jar MyClass

Or am I missing something here?


>
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message