There are a lot of command line tools that can send the basic auth
headers expected by the manager.  Curl and wget come to mind.  You could
also use a java program with the commons httpclient project easily enough.

You could send the url in a browser address bar easily enough as well,
although you'll be promted for credentials.

See http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html for
details on sending commands to the manager webapp.

--David

Yusuf wrote:

>Thanks for your reply Mark
>
>Would that be possible by entering a url in a browser address bar?
>
>Or should I use something like Jakarta's HTTPClient or some such API?
>
>Thanks
>
>
>Mark Thomas-11 wrote:
>  
>
>>Yusuf wrote:
>>    
>>
>>>Hi
>>>
>>>I have a Tomcat server running on one machine with one webapp loaded. The
>>>webapp itself is empty,
>>>but there's a web service deployed to its context (ie. I have Axis
>>>running
>>>inside the webapp!).
>>>I need to restart either the webapp or Tomcat, and my question is how do
>>>I
>>>do that?
>>>      
>>>
>>You need to send an appropriately formatted authorization header along
>>with your request.
>>
>>Mark
>>
>>
>>---------------------------------------------------------------------
>>To start a new topic, e-mail: users@tomcat.apache.org
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>    
>>
>
>  
>


-- 
=======================================
David Smith
Network Operations Supervisor
Department of Entomology
College of Agriculture & Life Sciences
Cornell University
2132 Comstock Hall
Ithaca, NY  14853
Phone: 607.255.9571
Fax: 607.255.0939


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

Reply via email to