--------------------------------------------------
From: "sebb" <seb...@gmail.com>
Sent: Wednesday, March 17, 2010 12:53 PM
To: "Commons Developers List" <dev@commons.apache.org>
Subject: Re: [DAEMON] Site documentation

On 17/03/2010, Bill Barker <billwbar...@verizon.net> wrote:


 --------------------------------------------------
 From: "sebb" <seb...@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?


Yes, looks like a copy/paste error.



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

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



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


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

Reply via email to