tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: WAR file and context.xml overwriting on deployment
Date Wed, 17 Nov 2004 13:34:27 GMT

You could use a different, your own, configuration file.  You would then
have some logic into the file name, e.g. myconfigfile-v1 for WAR v1, and
then when your ship WAR v2, use myconfigfile-v2, so it wouldn't
overwrite the first, etc.

Yoav Shapira

>-----Original Message-----
>From: Joe Reger, Jr. []
>Sent: Tuesday, November 16, 2004 5:28 PM
>Subject: WAR file and context.xml overwriting on deployment
>I have a java web app that I package as a WAR file.  People download
>They install it on their instance of Tomcat.  They configure
>settings as variables in context.xml.
>The problem is that each time they grab updated code (a new WAR file)
>overwrite their context.xml file with the default settings.
>Is there some more user-friendly way to deal with this configuration
>How do others that provide downloadable WAR files do this?
>I understand that this may not be the traditional usage of WAR files
>Tomcat.  Ideas welcome.
>Joe Reger
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message