Re: Context specific context.xml not loading.

2018-12-20 Thread Melvin
ThankYou Mark. Regards, Melvin A On Thu, Dec 20, 2018 at 2:51 PM Mark Thomas wrote: > On 20/12/2018 06:44, Melvin wrote: > > Hello All, > > > > Just came across a problem today. Hope someone will clarify it. > > > > Tomcat 9.0.13. > > I wanted to customize ErrorReportValve by setting

Re: Context specific context.xml not loading.

2018-12-20 Thread Mark Thomas
On 20/12/2018 06:44, Melvin wrote: > Hello All, > > Just came across a problem today. Hope someone will clarify it. > > Tomcat 9.0.13. > I wanted to customize ErrorReportValve by setting showReport="false" > showServerInfo="false". > > Below is the META-INF/context.xml -  > >

Re: Context specific context.xml not loading.

2018-12-20 Thread Melvin
Ryan Palmer, CATALINA_BASE/conf/Catalina/localhost/ directory is empty. Also, I haven't given any context in server.xml either. Regards, Melvin A On Thu, Dec 20, 2018 at 1:53 PM Ryan Palmer wrote: > Melvin, > > Do you have any context.xml for this context in the >

Re: Context specific context.xml not loading.

2018-12-20 Thread Ryan Palmer
Melvin, Do you have any context.xml for this context in the CATALINA_BASE/conf/Catalina/localhost/ directory? It may be overriding your META-INF/context.xml -Ryan On Dec 19, 2018, at 10:45 PM, Melvin mailto:melvind...@gmail.com>> wrote: Hello All, Just came across a problem today. Hope

Context specific context.xml not loading.

2018-12-19 Thread Melvin
Hello All, Just came across a problem today. Hope someone will clarify it. Tomcat 9.0.13. I wanted to customize ErrorReportValve by setting showReport="false" showServerInfo="false". Below is the META-INF/context.xml - It works fine for any internal server error produced or exceptions

Embedded tomcat does not read webapp specific context.xml

2012-02-28 Thread Kishanthan Thangarajah
Hi, I'm using embedded tomcat(7.0.14) in one of my application. I have extended Tomcat class and used that to add webapps by calling the addWebapp method. Everything works accordingly. But this way, if a webapp contains a context.xml(META-INF/context.xml) within, it is not getting read by embedded

Specific context.xml

2007-04-17 Thread jean-louis . mateo
Tomcat : 5.5.20 Hello, is there any way to to declare a context.xml for one application ($CATALINA_HOME/webapps/MyAppli/META-INF) and not for each ($CATALINA_HOME/conf/context.xml). If I declare it under .../conf -- it's OK but under MyAppli/META-INF -- it's KO !!! Any idea ? many thanks Best

RE: Specific context.xml

2007-04-17 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Specific context.xml is there any way to to declare a context.xml for one application ($CATALINA_HOME/webapps/MyAppli/META-INF) and not for each ($CATALINA_HOME/conf/context.xml). Placing the context.xml file under META-INF