Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Ken Bowen
Well, I said it would be DUH!, didn't I. Thanks a lot guys. Have a good weekend, Ken Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Re: Weird problem: Two apparent copies of app started If I put my context element in META-INF/context.xml, how is it assoc

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Mark Thomas
Ken Bowen wrote: > how does one ensure (if one can?) that myapp is an application running > in Host2, > but not in Host1 ?? Each host has its own appBase. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscr

RE: Weird problem: Two apparent copies of app started

2007-09-29 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Weird problem: Two apparent copies of app started > > If I put my context element in META-INF/context.xml, how is it > associated with a particular virtual HOST? > > But if: > conf/server.xml defines t

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Ken Bowen
Chuck, PID: Thanks for the replies and pointers -- they're a real help. Now, I'm sure the following is going to turn out to be a DUH! moment for me, BUT: If I put my context element in META-INF/context.xml, how is it associated with a particular virtual HOST? It's obvious how this happens i

RE: Weird problem: Two apparent copies of app started

2007-09-29 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: Weird problem: Two apparent copies of app started > > So what I'm confused about is this: Exactly what should > appear in Host and what in META-INF/context.xml?? > The "A Word on Contexts" in >

RE: Weird problem: Two apparent copies of app started

2007-09-29 Thread Caldarale, Charles R
> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: Weird problem: Two apparent copies of app started > > DO NOT use the path or docBase attribute in a Context defined > outside of server.xml. One exception to that: if the webapp is placed outside of the appBase directory, y

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Pid
Ken Bowen wrote: > Sorry about thatsome kind of sloppiness on my part. > > I've realize the problem must lie in the relationship between my app's > META-INF/context.xml and what is configured in Tomcat's conf/server.xml. > IIn the latter, found there was an old Context entry in the Host eleme

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Ken Bowen
Sorry about thatsome kind of sloppiness on my part. I've realize the problem must lie in the relationship between my app's META-INF/context.xml and what is configured in Tomcat's conf/server.xml. IIn the latter, found there was an old Context entry in the Host element: autoDeploy="true">

RE: Weird problem: Two apparent copies of app started

2007-09-28 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Weird problem: Two apparent copies of app started > > strongbrain/WEB-INF/lib/servlet-api.jar One obvious error: you must not put the servlet-api.jar inside your webapp - the container supplies that. Remove it and see if it helps. - Chuck