You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by galevsky <ga...@gmail.com> on 2007/12/06 21:12:08 UTC

[Windows service] how to set service name

Hi all, 

I am running a silent install of the installer. I would like to know if it is
possible to set the service name in parameter to NSIS installer. Because I
install my Tomcat v5.5.25 on machines that are running Tomcat v5.0.X and Tomcat5
service name is already used. 

If I try to install manually the service by running INSTDIR\bin\tomcat5.exe
//IS//Tomcat55 --required_options, but this new service Tomcat55 cannot start up
and the GUI INSTDIR\bin\tomcat5w.exe shows Tomcat5 service info but the lastest
service install.

So, how can I do to make both Tomcat 5.X running with windows services up ?

Many thanks.


Gal'


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [Windows service] how to set service name

Posted by galevsky <ga...@gmail.com>.
Caldarale, Charles R <Chuck.Caldarale <at> unisys.com> writes:

> 
> > From: news [mailto:news <at> ger.gmane.org] On Behalf Of galevsky
> > Subject: [Windows service] how to set service name 
> > 
> > I would like to know if it is possible to set the service 
> > name in parameter to NSIS installer.
> 
> Use the service.bat script; the optional second argument is the desired
> service name.
> 
>  - Chuck


Thanks Chuck, the issue was I decided to run silent install from the NSIS
installer... which aims at straight-to-use windows installation with Tomcat5
service setup. (There is no .bat in \bin with this NSIS installation). In fact,
for a customized win service setup, I should unzip the core archive then install
manually my service running -as you said- service.bat.

Thanks you.

Gal'


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [Windows service] how to set service name

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@ger.gmane.org] On Behalf Of galevsky
> Subject: [Windows service] how to set service name 
> 
> I would like to know if it is possible to set the service 
> name in parameter to NSIS installer.

Use the service.bat script; the optional second argument is the desired
service name.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org