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 21:43:00 UTC

[daemon] really, really need a working example to get started - please help.

Is there an example anywhere of how to extend Daemon ( I got that far ),
and to install / start / stop a windows service?

I have an installer that needs to first create a windows service, then
start it.  The installer can create shortcuts etc to start/stop/restart the
service.

The wiki does not have a working example.

I am not sure what I need to import for 'Engine'.  This is similar to my
previous email but did not prefix the subject line with '[daemon]' so there
were
no responses.

I just need a java method I can call to:
  1) create the windows service
  2) start the windows service

I just need a simple example, the wiki example is not sufficient as it does
not compile.  There is no 'Engine' object that I can import from the
commons-daemon jar.


J.V.