tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: Hot deploy deletes my context file...
Date Fri, 02 May 2008 16:39:03 GMT
On Fri, 2008-05-02 at 12:31 -0400, Mark H. Wood wrote:
> On Fri, May 02, 2008 at 05:32:58AM -0700, Michael Burbidge wrote:
> > 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.
> 
> I think you are right.  This drove me crazy for a while.  Eventually I
> began keeping the .war files *out* of /webapps and I haven't seen this
> problem for a while.  You'll need to add the docBase attribute to the
> Context to point to such an "external" webapp.
> 

(Using the 6x binary distro)

I have a webapp outside of tomcat/webapps and the context file
($tomcat/conf/Catalina/localhost/ROOT.xml) gets deleted if tomcat is
running and I delete the entire webapp directory.

So...

-Rob


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


Mime
View raw message