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">
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
> 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, your entry must be
> 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
> http://tomcat.apache.org/tomcat-5.5-d
Hi Chris,
Sorry for the late reply. We implemented the workaround mentioned at the
bottom of http://issues.apache.org/bugzilla/show_bug.cgi?id=4543 for
now. This fixed our problem.
At the same time, we also consider reinstalling tomcat under another
directory without space and see if that fixes
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
> 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 two virtual hosts: Host1 an
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
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
associated
This has been resolved. The JSTL jars in the client application were
updated to version 1.1. And, the jasper-compile.jar and
jasper-runtime.jar jar files were deleted from the client WEB-INF/lib
directory.
The following post was helpful.
http://mail-archives.apache.org/mod_mbox/tomcat-users/200
Hi all,
When no contexts for a Host are specified in server.xml, but all are
placed in the META-INF of their respective apps,
how does one specify one of them as the default Context for that Host?
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html doesn't seem
to say what to do:
On 9/29/07, Ken Bowen <[EMAIL PROTECTED]> wrote:
> When no contexts for a Host are specified in server.xml, but all are
> placed in the META-INF of their respective apps,
> how does one specify one of them as the default Context for that Host?
Name it ROOT (directory) or ROOT.war, as appropriate.
12 matches
Mail list logo