tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teppei Yamada <>
Subject Re: Tomcat6 - Context - aliases
Date Mon, 02 Apr 2012 10:06:24 GMT

Can I ask you some questions?

1. What version of Tomcat7 did you test?
2. Where do you place context.xml in Tomcat6?

I don't know you are aware that context.xml placed in
yourwebapp/META-INF/context.xml is automatically copied to
TOMCAT_HOME/conf/Catalina/(hostname(usually localhost)/yourapp.xml.
Once copied, Tomcat6 refers the one in TOMCAT_HOME/conf.

Tomcat7.0.26 no longer copies context.xml.


On 12/04/02 18:59, "Léa Massiot" <> wrote:

>I've been struggling lately with the "aliases" attribute of the "Context"
>element of the "context.xml" file.
>I tested a Webapp with "Tomcat7" and it appears to work properly.
>As a "Debian" user, "Tomcat7" is not yet packaged in the current stable
>release "Squeeze" so I installed "Tomcat6" instead.
>Result: the Webapp no longer works properly (as far as the "aliases"
>attribute is concerned).
>When I have a look at the "Tomcat6" documentation
>(, it looks
>the "Context" element "aliases" attribute is not available.
>1) Can you confirm it is not?
>2) How can I workaround this problem?
>Thanks for helping.
>View this message in context:
>Sent from the Tomcat - User mailing list archive at
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message