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
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
> 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
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
>
> 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
>
> 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
x27;s unpacked/deployed) accordingly.
your/webapps/ROOT.war
your/webapps/ROOT/ << unpacked files
If you want to store the files outside of the tomcat directory, just
alter the appBase attribute of the host. The following illustrates this:
/my/sites/www.domain.com/webapps/ROOT
/my/sit
text.xml??
The "A Word on Contexts" in
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html doesn't give
any details.
Thanks,
Ken
Caldarale, Charles R wrote:
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Weird problem: Two apparent copies of app started
strongb
> 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
Hello All,
I have an application using data source pooling configured in
META-INF/context.xml.
I set up up the data sources and the classes accessing them in an
AppListener.
This app works fine on Tomcat 5.5.9 running on Windows and 5.5.25
running on Linux/CentOS 5.
I am attempting to bring th
10 matches
Mail list logo