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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to