You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jehova Witness <jv...@gmail.com> on 2012/09/27 22:46:43 UTC

[daemon] - need working example of 'Engine' as referenced in the wiki

Is there an example of the 'Engine' object as referenced in the
commons-daemon wiki?

I am a little confused as to what is needed in this class and what is taken
care of by the launcher.

Also the launcher will run the java method as a service, but it does not
install it as a service.

I want to install a method/jar to as a windows service and then start it.
 Is there an example on how
to install a service from pure Java code (even if this means calling a
system/platform binary to do it?)

thanks

J.V.

Re: [daemon] - need working example of 'Engine' as referenced in the wiki

Posted by Diego Rivera <di...@gmail.com>.
Quiet! Nobody answer! He'll go away if we keep quiet... :)

--

Diego Rivera
On Sep 27, 2012 2:47 PM, "Jehova Witness" <jv...@gmail.com> wrote:

> Is there an example of the 'Engine' object as referenced in the
> commons-daemon wiki?
>
> I am a little confused as to what is needed in this class and what is taken
> care of by the launcher.
>
> Also the launcher will run the java method as a service, but it does not
> install it as a service.
>
> I want to install a method/jar to as a windows service and then start it.
>  Is there an example on how
> to install a service from pure Java code (even if this means calling a
> system/platform binary to do it?)
>
> thanks
>
> J.V.
>