|
From: Leif M. <le...@ta...> - 2005-10-19 15:12:07
|
Michael,
The 3.2.0 release already has several new features for working with
services
implemented. (I know I need to get it completed and released...) I
think I
actually have everything you have asked for and more already implemented.
Don't know if you have the ability to build from source, but it is all
in CVS if
you do.
In 3.1.2, you might want to take a look at the wrapper.pidfile and
wrapper.jvm.pidfile properties. They make it possible to output pid
files that
can be used to tell whether or not the Service is currently running.
Cheers,
Leif
Michael 'buk' Scherer wrote:
>Good day list.
>
>I'm currently looking for some features I would need to implement into my
>application. I developed an application that fiddles with an xml-file which
>used to configure our main-java-services. Besides that my application generates
>JSW-config-files from the properties specified in that xml.
>
>One purpose for my application is, when running under Windows, to give the
>possibilty to install/remove/update a service.
>My problem now is, that I need to know
>a) is the service already installed
>b) is it running
>c) ...
>
>Cause my app is implemented in java as well I'm looking for a way to achive
>informations about installed windows-service in some one.
>Currently I'm parsing the output of srvinfo.exe, which is a bit ugly.
>
>Are there any function in the jsw-lib/dll to be called via JNI to achive my
>goals?
>
>Any other hints to libs/dlls are welcome as well.
>
>Thanks in advance.
>
>Greetings,
> Michael
>
>
>
|