The documentation gives no way to append a username and password so this is 
where I am stuck.

www:~# wget localhost:8080/manager/list
--2010-02-21 02:31:52--  http://localhost:8080/manager/list
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
www:~#

________________________________________
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Sent: Saturday, February 20, 2010 10:15 AM
To: Tomcat Users List
Subject: RE: Restart one webapp

> From: Jonathan Soons [mailto:jso...@juilliard.edu]
> Subject: Restart one webapp

> I have one webapp that randomly freezes. I detect this with a script
> and restart tomcat. I would prefer to restart just the one webapp the
> way the manager does. Is there a command line way to do this?

Use curl or wget to send the manager the plain-text commands, not the HTML ones.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to