Hi,
I'm using tomcat6 on fedora15 (installed via the tomcat6 package).
I have context parameters defined for my application in both web.xml and
conf/Catalina/localhost/AppName.xml :
web.xml :
context-param
param-namename/param-name
param-valuevalue/param-value
/context-param
context.xml :
27.09.2011 11:00, Romaric:
context.xml :
Context
Parameter name=name value=value override=false /
---^
/Context
The problem is that the values in web.xml override those in context.xml
when it should be the other way around.
Do you have any idea what the problem
Right, sorry for the typo.
The actual file is valid.
In addition, if I remove the parameters from web.xml, the values in
context.xml are used.
Le 27/09/2011 11:10, Markus Schönhaber a écrit :
27.09.2011 11:00, Romaric:
context.xml :
Context
Parameter name=name value=value override=false /
On 27.09.2011, at 11:00, Romaric wrote:
Hi,
The problem is that the values in web.xml override those in context.xml when
it should be the other way around.
Do you have any idea what the problem might be ?
Which exact version? The behavior sounds like a bug that was present from
(AFAIK)
6.0.32.
That might be the issue.
Is there a way to work this around other than removing the parameters
from web.xml ?
Thanks for you help.
Le 27/09/2011 11:33, Rainer Frey a écrit :
On 27.09.2011, at 11:00, Romaric wrote:
Hi,
The problem is that the values in web.xml override those in
On 27.09.2011, at 11:38, Romaric wrote:
Le 27/09/2011 11:33, Rainer Frey a écrit :
On 27.09.2011, at 11:00, Romaric wrote:
Hi,
The problem is that the values in web.xml override those in context.xml
when it should be the other way around.
Do you have any idea what the problem might be
Ok.
Thank you for your help.
Link for those looking for the bug :
https://issues.apache.org/bugzilla/show_bug.cgi?id=50700
Romaric
Le 27/09/2011 11:40, Rainer Frey a écrit :
On 27.09.2011, at 11:38, Romaric wrote:
Le 27/09/2011 11:33, Rainer Frey a écrit :
On 27.09.2011, at 11:00, Romaric