The path attribute is ignored in favor of the name of the war file. The context.xml is still consulted for JNDI resource definitions, etc., ...
--David Tim Alberts wrote: > Hassan Schroeder wrote: > >> On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote: >> >>> When I deploy my .war files with the Manager application it seems to >>> completely ignore the /WEB-INF/context.xml file. What do I do? >> >> >> 1) put it in META-INF/context.xml where it belongs :-) and > > > Sorry, I typed the email too quick. It is in META-INF/context.xml > >> >>> <Context path="/servlet/path/to/myapp" /> >> >> >> 2) drop the path attribute -- it's irrelevant and ignored, since the >> path is derived from the name of the WAR file. >> >> HTH! > > If it is ignored, how can it be specified when uploading a war file > via the manager? > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- ======================================= David Smith Network Operations Supervisor Department of Entomology College of Agriculture & Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]