You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ragnar Moller (MA/EAF)" <ra...@ericsson.com> on 2006/12/14 17:32:11 UTC
How make a Windows shortcut to to start and stop Tomcat servcie on windows
I figured out that a windows Tomcat installation creates a tomcat
service which is automatic.
However I'd prefer being able to start up the tomcat server when I do
Tomacat and close it after, preferrably with a shortcut for each.
Regards,
Ragnar Moller
Re: How make a Windows shortcut to to start and stop Tomcat servcie
on windows
Posted by Werner Loibl <we...@celumsolutions.com>.
you can start/stop a windows service from the command line with
net start "Service Name"
net stop "Service Name"
create a .bat file each and there are your shortcuts!
hth,
werner
David Smith wrote:
> The Services section of the computer management mmc is the best
> suggestion I can offer. You can get to it by right clicking on My
> Computer and choosing Manage....
>
>
> If you really want a shortcut, try this:
>
> Click Start -> Run and type mmc. Hit Ok
> When the Microsoft Management Console starts, click File -> Add/Remove
> Snap-in....
> Click Add at the bottom of the Add/Remove Snap-in dialog
> Scroll down the list of snap-ins to near the bottom and choose Services
> Click the Add button (you'll be asked if local or remote, choose
> local) and then Close button
> Click Ok on the Add/Remove Snap-in dialog
> Click Services to see the list of services and then click on Apache
> Tomcat to start/stop/restart tomcat
> Save this to your desktop via File -> Save As... and name it something
> that will make sense to you.
>
> --David
>
> Ragnar Moller (MA/EAF) wrote:
>
>> Hi Mark,
>>
>> You mean with that distro I avoid the use of windows services
>> altogether ?
>> I was more looking for a shortcut that would act on the service (I
>> suppose I need to ask in a windows forum for that).
>>
>> Ragnar
>>
>> -----Original Message-----
>> From: Mark Thomas [mailto:markt@apache.org] Sent: vendredi 15
>> décembre 2006 01:48
>> To: Tomcat Users List
>> Subject: Re: How make a Windows shortcut to to start and stop Tomcat
>> servcie on windows
>>
>> Ragnar Moller (MA/EAF) wrote:
>>
>>
>>> I figured out that a windows Tomcat installation creates a tomcat
>>> service which is automatic.
>>>
>>> However I'd prefer being able to start up the tomcat server when I
>>> do Tomacat and close it after, preferrably with a shortcut for each.
>>>
>>
>> You can use the .zip distro.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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
>
---------------------------------------------------------------------
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: How make a Windows shortcut to to start and stop Tomcat servcie
on windows
Posted by David Smith <dn...@cornell.edu>.
The Services section of the computer management mmc is the best
suggestion I can offer. You can get to it by right clicking on My
Computer and choosing Manage....
If you really want a shortcut, try this:
Click Start -> Run and type mmc. Hit Ok
When the Microsoft Management Console starts, click File -> Add/Remove
Snap-in....
Click Add at the bottom of the Add/Remove Snap-in dialog
Scroll down the list of snap-ins to near the bottom and choose Services
Click the Add button (you'll be asked if local or remote, choose local)
and then Close button
Click Ok on the Add/Remove Snap-in dialog
Click Services to see the list of services and then click on Apache
Tomcat to start/stop/restart tomcat
Save this to your desktop via File -> Save As... and name it something
that will make sense to you.
--David
Ragnar Moller (MA/EAF) wrote:
>Hi Mark,
>
>You mean with that distro I avoid the use of windows services altogether ?
>
>I was more looking for a shortcut that would act on the service (I suppose I need to ask in a windows forum for that).
>
>Ragnar
>
>-----Original Message-----
>From: Mark Thomas [mailto:markt@apache.org]
>Sent: vendredi 15 décembre 2006 01:48
>To: Tomcat Users List
>Subject: Re: How make a Windows shortcut to to start and stop Tomcat servcie on windows
>
>Ragnar Moller (MA/EAF) wrote:
>
>
>>I figured out that a windows Tomcat installation creates a tomcat
>>service which is automatic.
>>
>>However I'd prefer being able to start up the tomcat server when I do
>>Tomacat and close it after, preferrably with a shortcut for each.
>>
>>
>
>You can use the .zip distro.
>
>Mark
>
>---------------------------------------------------------------------
>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
>
>
>---------------------------------------------------------------------
>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
>
>
>
---------------------------------------------------------------------
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: How make a Windows shortcut to to start and stop Tomcat servcie on windows
Posted by "Ragnar Moller (MA/EAF)" <ra...@ericsson.com>.
Hi Mark,
You mean with that distro I avoid the use of windows services altogether ?
I was more looking for a shortcut that would act on the service (I suppose I need to ask in a windows forum for that).
Ragnar
-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Sent: vendredi 15 décembre 2006 01:48
To: Tomcat Users List
Subject: Re: How make a Windows shortcut to to start and stop Tomcat servcie on windows
Ragnar Moller (MA/EAF) wrote:
> I figured out that a windows Tomcat installation creates a tomcat
> service which is automatic.
>
> However I'd prefer being able to start up the tomcat server when I do
> Tomacat and close it after, preferrably with a shortcut for each.
You can use the .zip distro.
Mark
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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: How make a Windows shortcut to to start and stop Tomcat servcie
on windows
Posted by Mark Thomas <ma...@apache.org>.
Ragnar Moller (MA/EAF) wrote:
> I figured out that a windows Tomcat installation creates a tomcat
> service which is automatic.
>
> However I'd prefer being able to start up the tomcat server when I do
> Tomacat and close it after, preferrably with a shortcut for each.
You can use the .zip distro.
Mark
---------------------------------------------------------------------
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