It can be done.  All of the manager commands seem to work well, 
except for remove in my case, which doesn't remove the deployed 
directroy because Tomcat maintains a reference to struts.jar in 
in my deployed image.  I wrote an uninstall and had to manually
stop Tomcat and remove the deployed directory.  

If, like me, you've already qualified your app on Tomcat 4.1
(4.1.29, in my case) you want to check out the docs for running 
the manager in the 4.1.29 version:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html

I wrote my own java client that runs the Tomcat manager application 
in my installer.  It was pretty easy.  

David Harvey, eXegesys, Inc.  www.exegesys.com

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of SMaric
Sent: Monday, February 16, 2004 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: deploying and undeploying web apps at run time


Pretty sure it can be done

I remember reading up on this in relation to ANT

I think there is some integration with ANT examples in the Tomcat
documentation - try

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html

And

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant

Hope this helps



"Abhijat Thakur" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

hi,

I want to deploy and undeploy web applications at run time. Aim is that once
the tomcat is up we should be able to deploy and undeploy web apps
programatically. Is there a way this can be achieved or if i can look up
some docs/respurce somewhere.

thanks

abhijat




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to