You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ha...@magnasteyr.com on 2007/08/03 14:05:07 UTC

How to avoide delete context.xml - 6.0.14

Hi all,

I'm using /conf/Catalina/localhost/myapp.xml context configuration.
My deployment works as ant-copy directly to the /webapps directory.

After the copy, the previous installed /conf/Catalina/localhost/myapp.xml will be deleted by the
server automatically.

So I have to provide the file again, and to restart the server ;(

In 5.0.30 it works so cool...


Thanks.

Regards, hans





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. Vielen Dank. 

This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee, you should not disseminate, copy, or take any action in reliance on it. If you have received this message in error, please immediately notify the sender of this message and delete this message and any attachment. Thank you.

---------------------------------------------------------------------
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


Re: How to avoide delete context.xml - 6.0.14

Posted by Hassan Schroeder <ha...@gmail.com>.
On 8/3/07, Mark H. Wood <mw...@iupui.edu> wrote:

> > After the copy, the previous installed
> > /conf/Catalina/localhost/myapp.xml will be deleted by the server
> > automatically.

You won't have this problem if you use META-INF/context.xml for
your context descriptor.

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
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


Re: How to avoide delete context.xml - 6.0.14

Posted by "Mark H. Wood" <mw...@IUPUI.Edu>.
On Fri, Aug 03, 2007 at 02:05:07PM +0200, hans.mader@magnasteyr.com wrote:
> I'm using /conf/Catalina/localhost/myapp.xml context configuration.
> My deployment works as ant-copy directly to the /webapps directory.
> 
> After the copy, the previous installed
> /conf/Catalina/localhost/myapp.xml will be deleted by the server
> automatically.
> 
> So I have to provide the file again, and to restart the server ;(
> 
> In 5.0.30 it works so cool...

If you get an answer off-list, please share.  5.5 has the same problem.

-- 
Mark H. Wood, Lead System Programmer   mwood@IUPUI.Edu
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.