|
From: Michael 'b. S. <msc...@gi...> - 2005-10-19 12:52:09
|
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 -- I am root. If you see me laughing, you better have a backup. |
|
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
>
>
>
|
|
From: Michael 'b. S. <msc...@gi...> - 2005-10-20 06:05:44
|
Good morning. When talking about 3.2.0 you talk about the current HEAD in CVS? And, next question as usual, are there any docs? :] Greetings, Michael On Thu, 20 Oct 2005 - 12:11am, Leif Mortenson wrote: > 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 >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > -- I am root. If you see me laughing, you better have a backup. |
|
From: Leif M. <le...@ta...> - 2005-10-20 11:46:47
|
Michael 'buk' Scherer wrote: >Good morning. > >When talking about 3.2.0 you talk about the current HEAD in CVS? >And, next question as usual, are there any docs? :] > > Yes its the HEAD in CVS. The docs for the service related features are mainly in the javadocs of the new classes, but there are several related properties which have been added as well. Each property has its own documentation page. You can build the docs by running "build doc" Cheers, Leif >Greetings, > Michael > >On Thu, 20 Oct 2005 - 12:11am, Leif Mortenson wrote: > > > >>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 >>> >>> >>> >>> >>> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: >>Power Architecture Resource Center: Free content, downloads, discussions, >>and more. http://solutions.newsforge.com/ibmarch.tmpl >>_______________________________________________ >>Wrapper-user mailing list >>Wra...@li... >>https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> >> >> >> > > > > |