tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml
Date Wed, 15 Nov 2006 20:38:47 GMT
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 <talberts@msiscales.com> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


-- 
=======================================
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message