tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: conf/Catalina/localhost/myWebApp.xml context file disappears
Date Wed, 17 Apr 2013 20:04:12 GMT
On 17/04/2013 10:35, Jakub 1983 wrote:
> when I copy new version of myWebApp.war into webapps directory my context
> from
> conf/Catalina/localhost/ disappears (this context was manually created by
> me),

What, exactly, are you doing? For example, copy and overwrite has very
different behaviour (at least it should) to delete then replace.

How (and when) you create the context.xml file also matters as does the
running state of Tomcat when you make any changes.

Mark

> 
> maybe tomcat first deletes war, and also delete corresponding context file,
> is there any way to prevent it ?
> how should such update be done ?
>   a) in developer mode (on my local mashine, when I want to copy from
> console)
>   b) in production mode, not so frequently
> 
> regards
> Jakub
> 


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


Mime
View raw message