Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: How make a Windows shortcut to to start and stop Tomcat servcie
on windows

werner loibl [celumsolutions]

2006-12-15

Replies:

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@(protected)
>> 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@(protected),
>> e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.