Just move your <Context>......</Context> from server.xml to an XML file.
There are two naming styles:

1. Deploy by Tomcat Manager:
- name this file "context.xml" and package it into META-INF
- make myapp.war;
- run ant deploy, myapp.war is uploaded to work/....../manager and
contexnt.xml is extracted to the same directory as myapp.xml.

2. Deploy by Tomcat to webapps:
- name it myapp.xml;
- make myapp.war;
- copy myapp.xml and myapp.war to webapps


-----Original Message-----
From: Jim Lynch [mailto:[EMAIL PROTECTED] 
Sent: June 6, 2003 12:46 PM
To: Tomcat Users List
Subject: Re: Tomcat Manager deploy and undeploy

I've been following this thread with interest since I've never been able
to get undeploy to work either.  Where might I go to learn about
context.xml and most importantly, what goes into it?  Examples would be
great.

Thanks,
Jim.

Phillip Qin wrote:
> 
> Having added context.xml, Deploy/Undeploy works perfectly for me now
EXCEPT
> Undeploy doesn't delete work/....../myapp. However, Tomcat will take care
of
> that because it checks if the file has been changed and reload the updated
> file. Maybe that's why the directory is not removed.
>

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

Reply via email to