Robert Dietrick wrote:
> Hi,
>
> I just noticed that I had a definition in both
> $CATALINA_HOME/conf/Catalina/localhost/mywebapp.xml and in
> $CATALINA_HOME/webapps/mywebapp.war/META-INF/context.xml. In both of
> these context definitions, I define a JNDI database connection pool
> with the sam
I would very much prefer to use only the one in
mywebapp/META-INF/contex.xml, as this is much less invasive (does not
require changing/adding anything to tomcat's global config
directories). But this doesn't seem to work.
I can leave it as is (and am becoming resigned to the fact that this
is my
bject: Re: where to place context configuration
I would very much prefer to use only the one in
mywebapp/META-INF/contex.xml, as this is much less invasive (does not
require changing/adding anything to tomcat's global config
directories). But this doesn't seem to work.
I can leave i
a production server makes me VERY
> nervous.
>
> --Angus Mezick
>
> -Original Message-
> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2008 2:22 PM
> To: Tomcat Users List
> Subject: Re: where to place context configuration
>
>
to use the correct
> version of possibly different files in a production server makes me VERY
> nervous.
>
> --Angus Mezick
>
> -Original Message-
> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2008 2:22 PM
> To: Tomcat Users List
> Subje
Robert Dietrick wrote:
> I would very much prefer to use only the one in
> mywebapp/META-INF/contex.xml, as this is much less invasive (does not
> require changing/adding anything to tomcat's global config
> directories). But this doesn't seem to work.
That isn't the way it is designed.
>
> I ca
> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> I would very much prefer to use only the one in
> mywebapp/META-INF/contex.xml
I hope the above is a typo, because if it's really in "contex.xml" Tomcat won'
Angus Mezick
>>
>> -Original Message-
>> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, August 14, 2008 2:22 PM
>> To: Tomcat Users List
>> Subject: Re: where to place context configuration
>>
>> I would very much pr
> From: Angus Mezick [mailto:[EMAIL PROTECTED]
> Subject: RE: where to place context configuration
>
> Am I the only one that is REALLY disturbed about that idea of
> REQUIRING two identical files to run an app?
Probably, because Tomcat does not require that. You may place t
s and the
server admins are not within shouting distance. (Such as where I
work.)
--
Len
On Thu, Aug 14, 2008 at 14:57, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>> From: Angus Mezick [mailto:[EMAIL PROTECTED]
>> Subject: RE: where to place context configuration
>>
On Thu, Aug 14, 2008 at 01:57:22PM -0500, Caldarale, Charles R wrote:
> You may place the element in either location, but Tomcat
> *may* copy the one from META-INF/context.xml to conf/Catalina/[host]
> so it can access it directly. Proper undeployment will remove the
> copy.
Is there a page some
On Thu, Aug 14, 2008 at 11:52 AM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>> From: Robert Dietrick [mailto:[EMAIL PROTECTED]
>> Subject: Re: where to place context configuration
>>
>> I would very much prefer to use only the one in
>> mywebapp/META-INF/
> From: Len Popp [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> So, the server admin can configure the DB server etc. by editing the
> file under the conf dir, but every time they deploy a new version of
> the app the settings are auto-wiped?
> From: Mark H. Wood [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> Is there a page somewhere which documents this?
I don't think so, at least not in sufficient detail. Mark T's recent message
covers the steps:
http://marc.info/?l=tomcat-
On Thu, Aug 14, 2008 at 15:55, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> If you just want to replace the webapp, then dropping in a new .war file will
> not lose the element in conf/Catalina/[host]/[appName].xml file, but things
> may not be cleaned up properly, especially on Windows syst
> From: Len Popp [mailto:[EMAIL PROTECTED]
> Subject: Re: where to place context configuration
>
> But earlier you said:
> > if you're updating the .war without doing an undeployment
> > first, you're breaking the rules, and all bets are off.
Yes, that was pro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Len,
Len Popp wrote:
> So, the server admin can configure the DB server etc. by editing the
> file under the conf dir, but every time they deploy a new version of
> the app the settings are auto-wiped?
No. Ideally, the server admin sets up data sourc
Thanks for reminding me about resource-ref. I don't think that putting
app-specific settings in server.xml is ideal - I'd rather have the
per-app config files - but I can see that would get around the issues
I'm complaining about.
--
Len
On Fri, Aug 15, 2008 at 10:57, Christopher Schultz
<[EMAIL
18 matches
Mail list logo