tomcat-users mailing list archives

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


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.

Regards,
Teppei

On 12/04/02 18:59, "Léa Massiot" <lmhelp1@orange.fr> wrote:

>Hello,
>
>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
>(http://tomcat.apache.org/tomcat-6.0-doc/config/context.html), it looks
>like
>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:
>http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678428p4678428.h
>tml
>Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@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