> From: Jason Novotny [mailto:[EMAIL PROTECTED] > Subject: placing context.xml in META-INF works? > > I have a context.xml file that looks basically like this: > > <Context path="/portal" debug="0" reloadable="false" > crossContext="true"/>
Take out the path attribute - it's not allowed unless the <Context> element is in server.xml, which is strongly discouraged. > I was told I could package this in the META-INF directory of > my WAR file and it would get automatically deployed in Tomcat > -- is this correct? Yes - it must be named context.xml when under META-INF. > I tried it but didn't see my context file in the > $CATALINA_HOME/conf/Catalina/localhost/ directory > after starting up... Why do you think you should? It will only be copied there if the webapp resides outside of the declared appBase for the <Host>. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]