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 > >type="javax.sql.DataSource" > driverCl

context.xml in META-INF

2008-10-09 Thread Ziggy
Hi all, I have the following datasource definition in my /META-INF/context.xml For some reason the above does not work when i deploy the .war file. It does however work if i rename the context.xml file into [applicationname].xml and put it into $TOMCAT_HOME/catalina/localhost/ Does anyone know

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 Sent: Thursday, October 19, 2006 5:45:37 AM Subject: RE: placing context.xml in META-INF works? Hi > 2) U

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 recommendati

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 they are not

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.

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.

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 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 you manag

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

2006-10-18 Thread Michael Hencin
ext level. I just want 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 PROTEC

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

2006-10-18 Thread Michael Courcy
Caldarale, Charles R a écrit : 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 element is in server.xml, which is strongly discouraged. why ? Because you

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

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 element for that app. > Specifying them glo

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 c

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 > > element is in server.xml, which is strongly discouraged. > > > why ? Because you hav

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 expe

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 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 PROTECTE

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, mak

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

2006-10-18 Thread Michael Hencin
ed" context.xml 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:[EMAI

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

2006-10-18 Thread Michael Hencin
-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 in META-INF wor

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

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: > > 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: Jason Novotny [mailto:[EMAIL PROTECTED] > Subject: placing context.xml in META-INF works? > > I have a context.xml file that looks basically like this: > > crossContext="true"/> Take out the path attribute - it's not allowed unless the element

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: 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: portal.xml I was told I could package this in the META-INF directory o