> From: Rajkumar Singh [mailto:rajkumar.si...@digitas.com] > Subject: Re: context.xml not being read
> If the context.xml file is being ignored then why the variable that I have > defined in the server.xml is not being read? Should I delete the > META-INF/context.xml file completely? Having a <Context> element in server.xml is strongly discouraged these days. Better to keep it in META-INF/context.xml of the webapp, or in conf/Catalina/[host]/[appName].xml. Regardless, you must have it in only one place; having it in multiple places means the behavior is undefined. Note that if you want to define the default webapp, it should be named ROOT (case sensitive). You must not use path attribute when the <Context> element is in META-INF/context.xml or in conf/Catalina/[host]/[appName].xml. Read the docs on the <Context> element for more details. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org