tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From teknokrat <teknok...@yahoo.com>
Subject Re: tomcat 5.5.9 does not read context.xml
Date Thu, 02 Jun 2005 11:59:47 GMT
Parsons Technical Services wrote:
> "The value of this field(Path) must not be set except when statically 
> defining a Context in server.xml,  "
> 
> This is found on this page under the Path attribute,
> 
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
> 
> Doug
> 
> ----- Original Message ----- From: "teknokrat" <teknokrat@yahoo.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Thursday, June 02, 2005 6:45 AM
> Subject: tomcat 5.5.9 does not read context.xml
> 
> 
>> What is the story with context descriptors in 5.5.9. Nothing seems to 
>> work right. I have placed the the following context.xml file in the 
>> META-INF directory inside my war
>>
>> <Context path="/mobile" reloadable="true"/>
>>
>> When my war is expanded the context does not use the name in the path as
>> specified by context.xml but the name of the war file!!
>>
>> How is it possible to use a context path different to the name of the 
>> war file?
>>
>> thanks
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>

OK, I am totally confused. Is or is it not best practice to provide a 
context.xml in META-INF. I thought this was required for hot deployment 
to work. If I want my context path to have a different name to my war 
file, how do I achieve this?

thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message