Alan Cooper wrote:

> I'm running Tomcat 5.5.12 (Red Hat Enterprise Linux stock packages).
>
> I am trying to set a Context path directive for /ejava/appname
>
> Tomcat is ignoring the Context path and instead taking the context from
> the xml file name (so it's reading the file and the docBase directive).

That's just the way it's designed to be:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

> The servlet is served, just not from the desired context.  I am setting
> the context up in /etc/tomcat5/Catalina/localhost/bield.xml.
[...]
> <Context docBase="/home/bield/live/ejava/" path="/ejava/bield"
> override="true"
>          privileged="true" antiResourceLocking="false"
> antiJARLocking="false">
>
>   <ResourceLink name="users" global="UserDatabase"
>                 type="org.apache.catalina.UserDatabase"/>
>
> </Context>
>
>
> Any ideas where I'm going wrong?

Remove the "path" attribute and instead name the file "ejava#bield.xml".

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to