Thanks Jeff and Soren
 
The server's running on a Windows box.
 
Could I use Jakarta's HTTPClient to insert the Authorization information?
This is the method I'm thinking of using.  I need to be able to do a webapp reload
from a Java application.
 
 
On 9/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
On 9/6/06, Yusuf Jakoet < [EMAIL PROTECTED]> 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 (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?
 
I'm trying to execute Tomcat manager commands via HTTP.
How would I work around the login dialog? Is it possible to specify the username and password as well?
 
If it's not possible, how else could I reload a webapp from a remote machine?
(I'm trying the above method, but I don't want the login dialog)
 
If that's not possible, how would I restart a Tomcat service remotely?
 
Thanks

-
You could do it programmatically using the Cargo API , or using the Cargo maven plugin ( http://cargo.codehaus.org).Shout if you need more help

My very low-tech solution was to use wget & put the authentication
details for Tomcat manager in the URL.  Cron + wget is part of the
duct tape of our environment here.

--
J2EE -- the Hamiltonian mechanics of webapp
development.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to