|
From: Leif M. <le...@ta...> - 2005-04-18 21:37:47
|
Puneet,
Please post to the Wrapper-User list rather than to me directly.
Because of the way the Windows Service Manager works, it is not
currently
possible to modify the Service settings while the service is running.
If you modify
any of the wrapper.ntservice.* properties, it is necessary to uninstall
and then
reinstall that Wrapper service. If you change the service name, it is
necessary of
course to uninstall the service before making that change.
The change that you are asking about can easily be done by opening
the service
control panel and then selecting the Properties for that service. The
properties
dialog lets you modify the service startup mode even while the service
is running.
Cheers,
Leif
puneet wrote:
>
>
> HI Leif
>
>
>
> We are planning to use the java service wrapper in
> our project .It has amazing features.
>
> But I am facing one problem .The problem is how do we change the
> startup type (manual, auto start)
>
> Of a service installed through java service wrapper without stopping
> or restarting the service.
>
>
>
>
>
> I tried doing it by changing the wrapper.conf file.
>
> # Mode in which the service is installed. AUTO_START or DEMAND_START
>
> wrapper.ntservice.starttype=AUTO_START
>
>
>
>
>
> But if I do this I have to stop the service and then start it again.
>
> Can u please help me out.
>
>
>
> Waiting for your reply
>
> Puneet
>
>
>
|