Version 5.5.6

I use the follow target in my ant build script:

        <property name="deploy.dir" value="${catalina.home}/webapps" />
        <target name="deploywar">
                <echo message="copying ${war.file} to ${deploy.dir}" />
                <copy file="${war.file}" todir="${deploy.dir}" />
        </target>

By experimenting from the shell copying files I can see what Tomcat is doing. I think that it deletes associated contexts whenever an application is undeployed by deleting the .war file.

Michael-

On May 1, 2008, at 11:14 PM, Mark Thomas wrote:

Michael Burbidge wrote:
I have a context file that is associated with my web application. My context file is in $CATALINA_HOME/conf/Catalina/localhost/ mytest.xml. My war is called mytest.war and my servlet is mytest. If I deploy my war with tomcat shutdow my context file is not deleted on startup and the resources declared in the context work properly. But if I deploy a new war while tomcat is running, mytest.xml is deleted and of course the resources defined in it are not available.
Can anyone give my some guidance?

Tomcat version?

Exactly what steps do you take deploy the new war?

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to