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" <[EMAIL PROTECTED]>
To: <[email protected]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to