Overriding web.xml parameters

2011-09-27 Thread Romaric
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 :

Re: Overriding web.xml parameters

2011-09-27 Thread Markus Schönhaber
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

Re: Overriding web.xml parameters

2011-09-27 Thread Romaric
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 /

Re: Overriding web.xml parameters

2011-09-27 Thread Rainer Frey
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)

Re: Overriding web.xml parameters

2011-09-27 Thread Romaric
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

Re: Overriding web.xml parameters

2011-09-27 Thread Rainer Frey
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

Re: Overriding web.xml parameters

2011-09-27 Thread Romaric
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