[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Re: Which context.xml have higher priority?
From: Jose Monreal <jmonreal () gmail ! com>
Date: 2015-01-25 14:48:04
Message-ID: CAOm++yT8wN9CEZhtEx-yvCTp6kSGYd1JYDeB_1nmuo+MuSa_6w () mail ! gmail ! com
[Download RAW message or body]
Under what server.xml configuration is that true? Because when I deploy my
app, tomcat uses artifactId-version as the context instead of my config in
META-INF/context.xml
On 25 Jan 2015 06:22, "Konstantin Kolinko" <knst.kolinko@gmail.com> wrote:
> 2015-01-25 7:39 GMT+03:00 =E6=9D=A8=E5=8D=8E=E6=9D=B0 <yhjhoo@gmail.com>:
> > Now I have context.xml in three locations:
> >
> > A: in app: meta-info/context.xml
> > B: in conf: context.xml
> > C: in conf/Catalina/**.xml --->> seems like no longer copied to here.
> >
> >
> > If I am going to define the same resources in these context.xml, which
> one
> > will going to take effect eventually.
> >
> >
> > I could try it myself but I would like a official answer and it
> consistent
> > in further version.
>
>
> C is used,
>
> A is ignored when C is present, the file name is META-INF/context.xml
> (proper naming mappers, case-sensitively)
>
> B provides defaults for all web applications.
>
> The docs are out there... (config/context.html).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic