tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky.Wang" <ex_program...@hotmail.com>
Subject Re: undeploy, redeploy
Date Mon, 23 Feb 2004 04:23:09 GMT
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@silkroad.ge>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message