Re: context.xml under META-INF was not working

2020-06-11 Thread Mark Thomas
ay, June 11, 2020 8:19 PM > To: Tomcat Users List > Subject: RE: context.xml under META-INF was not working > > On June 11, 2020 2:32:51 PM UTC, S Abirami > wrote: >> Hi Mark, >> >> We are using Apache Tomcat 9.0.33. >> I am not seeing any exception re

RE: context.xml under META-INF was not working

2020-06-11 Thread S Abirami
SameSite attribute. Regards, Abirami.S -Original Message- From: Mark Thomas Sent: Thursday, June 11, 2020 8:19 PM To: Tomcat Users List Subject: RE: context.xml under META-INF was not working On June 11, 2020 2:32:51 PM UTC, S Abirami wrote: >Hi Mark, > >We are using Apache Tomc

RE: context.xml under META-INF was not working

2020-06-11 Thread Mark Thomas
egards, >Abirami.S > >-Original Message- >From: Mark Thomas >Sent: Thursday, June 11, 2020 7:27 PM >To: users@tomcat.apache.org >Subject: Re: context.xml under META-INF was not working > >On 11/06/2020 12:46, S Abirami wrote: >> Hi Mark, >> >> The

RE: context.xml under META-INF was not working

2020-06-11 Thread S Abirami
. Regards, Abirami.S -Original Message- From: Mark Thomas Sent: Thursday, June 11, 2020 7:27 PM To: users@tomcat.apache.org Subject: Re: context.xml under META-INF was not working On 11/06/2020 12:46, S Abirami wrote: > Hi Mark, > > The below is the content of the co

Re: context.xml under META-INF was not working

2020-06-11 Thread Mark Thomas
which might suggest why that file isn't taking effect. Mark > > Regards, > Abirami.S > -Original Message- > From: Mark Thomas > Sent: Thursday, June 11, 2020 5:12 PM > To: users@tomcat.apache.org > Subject: Re: context.xml under META-INF was not working >

RE: context.xml under META-INF was not working

2020-06-11 Thread S Abirami
Hi Mark, The below is the content of the context.xml Regards, Abirami.S -Original Message- From: Mark Thomas Sent: Thursday, June 11, 2020 5:12 PM To: users@tomcat.apache.org Subject: Re: context.xml under META-INF was not working On 11/06/2020 11:42, S Abirami wrote: > Hi

Re: context.xml under META-INF was not working

2020-06-11 Thread Mark Thomas
On 11/06/2020 11:42, S Abirami wrote: > Hi All, > > I want to configure SameSite attribute to the specific web-application. > For that, I have updated the context.xml of specific web application located > in /META-INF/context.xml > > > > > It is not worki

RE: context.xml under META-INF was not working

2020-06-11 Thread S Abirami
Hi All, I want to configure SameSite attribute to the specific web-application. For that, I have updated the context.xml of specific web application located in /META-INF/context.xml It is not working. Only the changes in global context.xml is working. Please guide to solve the issue

context.xml in META-INF

2013-11-28 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.23 . Yes, I know it's an old release I would like to use - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: context.xml in META-INF

2008-10-09 Thread Ziggy
Please ingnore this. There was a typo in the filename thats why it wasnt working. Thanks On Thu, Oct 9, 2008 at 5:17 PM, Ziggy [EMAIL PROTECTED] wrote: Hi all, I have the following datasource definition in my /META-INF/context.xml Resource name=jdbc/testdb auth=Container

Re: placing context.xml in META-INF works?

2006-10-19 Thread Michael Courcy
Caldarale, Charles R a écrit : From: Michael Courcy [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? How do you manage the problem, if you need to define a Host element whith many Alias ? Hosts are a completely different problem, since

RE: placing context.xml in META-INF works?

2006-10-19 Thread Steffen Heil
Hi 2) User places our clean database file in the recommended location on the server machine. i.e c\databse\ourfile.gdb A off-topic side note on this: The c and the backslashes suggest you are using windows. The gdb extension suggest you are using firebird or interbase. My recommendation:

Re: placing context.xml in META-INF works?

2006-10-19 Thread Michael Hencin
several of the same apps with diffrent db's on our servers for demo purposes. Mike - Original Message From: Steffen Heil [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 19, 2006 5:45:37 AM Subject: RE: placing context.xml in META-INF works? Hi

placing context.xml in META-INF works?

2006-10-18 Thread Jason Novotny
Hi, I have a context.xml file that looks basically like this: Context path=/portal debug=0 reloadable=false crossContext=true/ In the past using Tomcat 5.5.X I've had to manually copy this file over to $CATALINA_HOME/conf/Catalina/localhost/ and giving it the filename of the context:

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: placing context.xml in META-INF works? I have a context.xml file that looks basically like this: Context path=/portal debug=0 reloadable=false crossContext=true/ Take out the path attribute - it's not allowed unless the Context

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
in META-INF works? From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: placing context.xml in META-INF works? I have a context.xml file that looks basically like this: Context path=/portal debug=0 reloadable=false crossContext=true/ Take out the path attribute - it's not allowed

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: placing context.xml in META-INF works? I want this context file to be copied to the $CATALINA_HOME/conf/Catalina/localhost/ directory do that the users can use the default JNDI and env values I enter. Why does the location

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
. It would connect. Mike -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 2:44 PM To: Tomcat Users List Subject: RE: placing context.xml in META-INF works? From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: placing context.xml

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
and it should work out of the gate. Mike -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 2:44 PM To: Tomcat Users List Subject: RE: placing context.xml in META-INF works? From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: placing context.xml in META-INF works? Also my target users are not tomcat savvy. So the less they need to do, the better. Having a pre-configured context file get deployed the first time, makes it easy. They just drop our war

Re: placing context.xml in META-INF works?

2006-10-18 Thread Michael Courcy
Take out the path attribute - it's not allowed unless the Context element is in server.xml, which is strongly discouraged. why ? Mic - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: placing context.xml in META-INF works?

2006-10-18 Thread Christopher Schultz
Michael, I want to pre-setup the configuration. I enter all the parameters, for the JDNCI info, and then the user only needs to install the webapp and if they use the default database location setting, it would work. Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x expert,

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Courcy [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? Take out the path attribute - it's not allowed unless the Context element is in server.xml, which is strongly discouraged. why ? Because you have to restart Tomcat if you make any

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x expert, but that's what I'd do way back here in Tomcat 4.1. Things have changed. Global resources should be defined

Re: placing context.xml in META-INF works?

2006-10-18 Thread Christopher Schultz
Chuck, Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x expert, but that's what I'd do way back here in Tomcat 4.1. Things have changed. Global resources should be defined in server.xml, but app-specific ones belong in the Context element for that app. Specifying them

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? I get that, but it sounds like that's exactly what this guy wants: configuration that is available to all of his webapps, and never changes. If it smells like a global resource...? I

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
it to work. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 5:49 PM To: Tomcat Users List Subject: RE: placing context.xml in META-INF works? From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml

Re: placing context.xml in META-INF works?

2006-10-18 Thread Michael Courcy
Because you have to restart Tomcat if you make any changes to server.xml - it's only read during initialization. Consequently, updating the app on the fly when its Context tag is in server.xml is not possible. To quote from the doc: ok Actually I'm not pretty sure to be ok. How do

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: placing context.xml in META-INF works? My ideal sequence of events is this. 1) User installs tomcat 2) User places our clean database file in the recommended location on the server machine. i.e c\databse\ourfile.gdb 3) User

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Courcy [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? How do you manage the problem, if you need to define a Host element whith many Alias ? Hosts are a completely different problem, since they are not subordinate to an app. Can you put