thank you marc. so I place it under META-INF and name it context.xml? The content is the same, right?
I'm using autodeploy, by simply copying the new .WAR file in the webapps directory (its only for testing though). thanx leon On 9/12/06, Marc Farrow <[EMAIL PROTECTED]> wrote:
How are you redeploying it? If you are deploying with a *.war and the Tomcat manager application (not sure about "auto deploy" and other clients), then you can place your information in your context.xml file under your /webappname/META-INF/ directory. Then when the war is deployed, the information in the context.xml file is copied into your webapp.xml file that is placed in the conf/Catalina/localhost/ directory. HTH On 9/12/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > Hi, > > I noticed that my context definition file > (conf/Catalina/localhost/webapp.xml) is getting deleted over war file > redeploy. > > Is there a way to prevent tomcat from deleting it? > > regards > Leon > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Marc Farrow
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]