undeploy, redeploy 2004-02-22 - By Jacky.Wang
Back Hello Vano,
Yes, it it possible. You can run ant script with catalina optional tasks.
See the following example.
<!-- optional tasks --> <taskdef name="install" classname="org.apache.catalina.ant.InstallTask "/> <taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask "/> <taskdef name="remove" classname="org.apache.catalina.ant.RemoveTask "/>
<!-- Tomcat 4 redeploy --> <target name="webRedeploy" depends="webRemove, webDeploy, webReload"/>
<!-- Tomcat 4 remove --> <target name="webRemove"> <remove url="${url}" username="${username}" password="${password}" path="/${ap-name}"/> </target>
<!-- Tomcat 4 deploy --> <target name="webDeploy" description="Install web application" depends="webPack"> ................(depends on your project) </target>
<!-- Tomcat 4 reload --> <target name="webReload"> <reload url="${url}" username="${username}" password="${password}" path="/${ap-name}"/> </target>
Best Regards,
Jacky Wang
-- -- Original Message -- -- From: "Vano Beridze" <vano.beridze@(protected)> To: "Tomcat Users List" <tomcat-user@(protected)> Sent: Thursday, February 19, 2004 6:18 PM Subject: undeploy, redeploy
> Hello > > I've got tomcat 4.1.29 > > Is it possible to undeploy or redeploy the application isntalled from > the war > file without using manager application and without restarting tomcat? > > I know that it is possible to hotdeploy but what about undeploy or redeploy? > > Thank you > Vano > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > For additional commands, e-mail: tomcat-user-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|