Actually there is a very detail how-to on tomcat's site:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html

-----Original Message-----
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: June 6, 2003 2:38 PM
To: Tomcat Users List
Subject: Re: Tomcat Manager deploy and undeploy


take a look at the CATALINA_HOME/webapps directory and look at manager.xml 
and admin.xml  Those are context configuration files.  When deploying a 
.war file (via the catalina ant manager "deploy" task), the context 
configuration file needs to be named "context.xml" and added to the 
"META-INF" directory of your .war file.  The contents of the file are 
simply a <Context ...> element just like you might add to the server.xml
file.

Jake

At 12:46 PM 6/6/2003 -0400, you wrote:
>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