Hi,
It was always intended, and finally fixed in 6.0.19 (see the changelog). The
impetus was
this bug report:
https://issues.apache.org/bugzilla/show_bug.cgi?id=42747
Thank you very much for the reference. To be helpful to other people who
stumble upon this thread when searching for
From: M4N - Arjan Tijms [mailto:arjan.ti...@m4n.nl]
Subject: RE: Tomcat copies context.xml to
conf/Catalina/localhost/app.xml,but neverupdates it?
1. If there is a context descriptor in
$CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml use this.
2. Otherwise, use the context
Hi,
1. If there is a context descriptor in
$CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml use this.
2. Otherwise, use the context descriptor
$CATALINA_BASE/webapps/[webappname]/META-INF/context.xml
That is exactly how it works today.
Well, in my humble opinion this is how it
M4N - Arjan Tijms schrieb:
I fully understand the need for global overrides, but the procedure of
copying the very first encountered context.xml from a web application
and then continue to use that as the global override variant, I'm
sorry but I just don't see the logic in doing that.
Maybe
On Fri, Aug 7, 2009 at 10:33, M4N - Arjan Tijms arjan.ti...@m4n.nl wrote:
Either you trust the web application or you don't. If you don't trust the
web application the maintainer of a Tomcat instance puts his own context.xml
in conf/Catalina, thereby overriding whatever the web application
Len Wrote:
Unfortunately it's not that simple. Take for example the most common case, a
Resource definition for a JDBC database connection. The app writer has to
provide part of the definition (the resource name, e.g. jdbc/myAppDB) and
the sysadmin has to provide another part (the address of the
M4N - Arjan Tijms wrote:
To me it all would make a lot more sense of there was an option to
disable this copying-and-holding of the context.xml. For exploded
development mode, this option could then be set to false and for
production mode it could be set to true.
That is a reasonable
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arjan,
On 8/7/2009 10:33 AM, M4N - Arjan Tijms wrote:
Well, in my humble opinion this is how it worked yesterday. Doesn't it
work like this today (for exploded archives):
1. If there is a context descriptor in
From: arjan.tijms [mailto:arjan.ti...@m4n.nl]
Subject: Re: Tomcat copies context.xml to
conf/Catalina/localhost/app.xml but neverupdates it?
Can you confirm that copying for exploded deployments is a new
and intended behavior for Tomcat 6.0.20?
It was always intended, and finally fixed